Commit Graph

17 Commits

Author SHA1 Message Date
Tom Tromey
22bdecb10d make it work with both python2 and python3
I ran 2to3, fixed up the output a tiny bit, and fixed the C module as
well.  I smoke tested with both versions of Python but didn't use it in
anger yet.

Fix #29
2015-05-19 09:44:09 -06:00
Tom Tromey
1bec4626eb fix some bugs in gui show 2015-05-10 08:00:20 -06:00
Tom Tromey
e8467f8488 make gui show and gui list commands 2015-05-09 21:32:02 -06:00
Tom Tromey
35143e403f put window number and source basename in title bar 2015-04-30 13:34:40 -06:00
Tom Tromey
5b31fb182c add documentation 2015-04-30 12:44:36 -06:00
Tom Tromey
cc0fac354e install 'gui dprintf' 2015-04-30 12:40:02 -06:00
Tom Tromey
2d1ea6f90c use before_prompt hook to notify the frame_changed event 2015-04-29 11:16:35 -06:00
Tom Tromey
8d07dd14a0 add -diff item to "gui display" 2013-11-16 21:28:09 -07:00
Tom Tromey
99ca7a2297 make Toplevel call start_gtk 2013-11-15 19:26:37 -07:00
Tom Tromey
f35543706a add "gui display"
This adds the "gui display" command.
It arranges to re-evaluate a gdb command at each change
and display the results in a window.
2013-11-15 14:09:41 -07:00
Tom Tromey
97d3a8fafa fix overriding command creation 2013-11-12 09:59:11 -07:00
Tom Tromey
b73212ab30 add thread enforcement decorators
This adds a couple of decorators that can be used to
mark functions as needing to be run in the gdb thread
or in the gtk thread.

This found at least one bug.
2013-11-03 19:48:27 -07:00
Tom Tromey
ca645d2e80 add frame support
if you have a gdb that can wrap commands (not yet upstream)
then up/down/frame commands will update the source window
when a selected-frame event is available, we can change
the code to use that instead
2013-06-17 20:30:36 -06:00
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
Tom Tromey
1214f22d6b add help to "gui source" 2013-06-12 11:16:27 -06:00
Tom Tromey
4b5a9b16ed add "info windows" and "delete window"
This adds the "info windows" and "delete window" commands.

"info windows" unfortunately overlaps with the TUI's "info win".
So maybe we should rename this one.

This also adds a new "toplevel" component that knows how to track
windows.
2013-06-12 10:30:12 -06:00
Tom Tromey
0509c2273d initial commit 2013-06-05 08:58:13 -06:00