Tom Tromey 3b39f0068b add "gui log" and friends
This adds the "gui log" command, which pops up a window you can use
for logging.

There are also new "gui" subcommands for sending output to a log
window: gui print, gui output, gui printf, and gui dprintf.  These
all work pretty much like their non-gui counterparts, except that the
output goes to the log window.

If you have more than one log window you can specify which one to use
with an "@", like  gui print @1 value
2013-06-12 12:51:43 -06:00
2013-06-12 12:51:43 -06:00
2013-06-06 20:15:09 -06:00
2013-06-12 09:17:33 -06:00
2013-06-12 12:51:43 -06:00
2013-06-12 09:17:33 -06:00
2013-06-06 20:11:09 -06:00

gdb-gui

This is gdb-gui, a GUI for gdb.  This GUI differs from existing gdb
GUIs in a few ways:

* It runs in-process.

* It is written in Python.

* It is intended to interoperate well with the CLI.
  You can pick and choose which windows you want to see, and you can
  still do whatever you like in the terminal.

* It is totally incomplete.


To get started, install the prerequisites.  You'll need a
Python-enabled gdb, PyGObject, and PyGktSourceView.  (And maybe more
-- if you trip across something, let me know.)  You'll need the Python
development package to compile the small C module that is included
here.

On Fedora I think this suffices:

    sudo yum install gdb python-devel gtksourceview3 pygobject3

After you install this, type "make".  Now, start gdb and source the
"SourceMe.py" file.  This sets everything up.  If you want it to
always be available, you can use "make hack-gdbinit", which will add
the appropriate "source" line to your ~/.gdbinit.

This adds a new "gui" command to gdb.  Currently the only subcommand
is "gui source", which pops up a source window.  The source window
will automatically track your progress when debugging.  You can make
multiple source windows; they will be reused in an LRU fashion.

If you want to hack on this, you will need Glade to edit the UI
elements.  For Fedora 18, you'll need a special hack to make the
gtksourceview widget visible to Glade.
Description
A gdb gui written in Python, running inside gdb itself.
gdb
Readme 181 KiB
Languages
Python 99.5%
Makefile 0.5%