🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by thomas.elam Thu, 30 Dec 2004 12:19
What are the prescribed ways to integrate extensions into gdb? Examples?
#1240
Author: thomas.elam
Date: Thu, 30 Dec 2004 12:19
121 lines
5883 bytes
This is a multi-part message in MIME format.

------_=_NextPart_001_01C4EE69.D5D4C788
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

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.

------_=_NextPart_001_01C4EE69.D5D4C788
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6603.0">
<TITLE>What are the prescribed ways to integrate extensions into gdb? =
Examples?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>I have found the following references about extending =
gdb:<BR>
<BR>
[1] Section 4.2 of the `GDB Internals' document, `UI-Independent =
Output--the ui_out Function':<BR>
<A =
HREF=3D"http://sources.redhat.com/gdb/current/onlinedocs/gdbint_4.html#SE=
C19">http://sources.redhat.com/gdb/current/onlinedocs/gdbint_4.html#SEC19=
</A><BR>
<BR>
[2] Section 24 of the `Debugging with GDB' document, `The GDB/MI =
Interface':<BR>
<A =
HREF=3D"http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC2=
23">http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC223</=
A><BR>
<BR>
[3] Section A of the `GDB Internals' document, `GDB Currently available =
observers':<BR>
<A =
HREF=3D"http://sources.redhat.com/gdb/current/onlinedocs/gdbint_19.html#S=
EC188">http://sources.redhat.com/gdb/current/onlinedocs/gdbint_19.html#SE=
C188</A><BR>
<BR>
<BR>
<BR>
What is the currently prescribed way to integrate extensions into =
gdb?<BR>
I want to link my code in with gdb.&nbsp; I am interested in adding to =
gdb:<BR>
(1) a full scripting language (not tcl) and (2) a new GUI front-end.<BR>
These additions could use the same or different methods of extending =
gdb.<BR>
I prefer a machine-oriented interface to gdb, not an interface that<BR>
would require me to parse printf output.<BR>
<BR>
Besides the currently prescribed way(s) of extending gdb, is there a<BR>
different method planned for the near future -- a method that is<BR>
semi-supported now?<BR>
<BR>
Are there some good examples of the extension of GDB (not by =
starting<BR>
GDB as a separate process)?&nbsp; Is the way Insight extends GDB (1) =
endorsed<BR>
and (2) the most up-to-date way?&nbsp; Are there other =
not-to-ancient<BR>
programs that link into GDB?&nbsp; Do they extend GDB in an endorsed =
ways?<BR>
Do they do it in the most up-to-date way?<BR>
<BR>
<BR>
<BR>
Regards and thanks.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C4EE69.D5D4C788--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads