bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What are the prescribed ways to integrate extensions into gdb? Examp


From: jacob navia
Subject: Re: What are the prescribed ways to integrate extensions into gdb? Examples?
Date: Sun, 02 Jan 2005 13:25:06 +0100
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

address@hidden wrote:

I have found the following references about extending gdb:

[1] Section 4.2 of the `GDB Internals' document, `UI-Independent Output--the ui_out Function':
http://sources.redhat.com/gdb/current/onlinedocs/gdbint_4.html#SEC19

[2] Section 24 of the `Debugging with GDB' document, `The GDB/MI Interface':
http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC223

[3] Section A of the `GDB Internals' document, `GDB Currently available observers':
http://sources.redhat.com/gdb/current/onlinedocs/gdbint_19.html#SEC188



What is the currently prescribed way to integrate extensions into gdb?
I want to link my code in with gdb.  I am interested in adding to gdb:
(1) a full scripting language (not tcl) and (2) a new GUI front-end.
These additions could use the same or different methods of extending gdb.
I prefer a machine-oriented interface to gdb, not an interface that
would require me to parse printf output.

Besides the currently prescribed way(s) of extending gdb, is there a
different method planned for the near future -- a method that is
semi-supported now?

Are there some good examples of the extension of GDB (not by starting
GDB as a separate process)?  Is the way Insight extends GDB (1) endorsed
and (2) the most up-to-date way?  Are there other not-to-ancient
programs that link into GDB?  Do they extend GDB in an endorsed ways?
Do they do it in the most up-to-date way?



Regards and thanks.


Very interesting question, but I think that nobody is reading this
newsgroup.

I posted a bug in gcc and a patch for it without even receiving an
acknowledgment.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]