Commit Graph

9 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
3e79929585 add gui.startup.create_builder
this pulls some repeated code out into a separate function
2013-06-14 15:01:02 -06:00
Tom Tromey
7020755290 allow clicking to set a breakpoint
Clicking in the left gutter of the source window will set a
breakpoint.  Currently the effect of this is somewhat invisible,
because there is no way for the GUI to notice when breakpoints
are created.
2013-06-14 12:04:16 -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
c31ec25531 add "finish" command
This adds the "finish" command to the GUI.
It also wires up the "stop" button, but that still doesn't
seem to work.
2013-06-07 14:47:50 -06:00
Tom Tromey
5fceb3421e move to pygobject and glade
This ports the code to PyGObject, and also changes it to use Glade to
edit the user interface elements.
2013-06-07 11:13:31 -06:00
Tom Tromey
48cf179e8c request an initial size for the source window 2013-06-07 07:18:30 -06:00
Tom Tromey
0509c2273d initial commit 2013-06-05 08:58:13 -06:00