Commit Graph

6 Commits

Author SHA1 Message Date
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