[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What are the prescribed ways to integrate extensions into gdb? Examples?
From: |
thomas.elam |
Subject: |
What are the prescribed ways to integrate extensions into gdb? Examples? |
Date: |
Thu, 30 Dec 2004 17:49:39 +0530 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- What are the prescribed ways to integrate extensions into gdb? Examples?,
thomas.elam <=