Tom Tromey
602c144f6e
Run black
2023-11-22 21:05:41 -07:00
Tom Tromey
ca12a739d6
Use ==, not is
...
Python pointed out that this should use ==
2023-11-22 20:58:00 -07:00
Tom Tromey
6caa2acfc3
show pointer icon at current PC
...
Fixes #24
2015-09-20 20:54:21 -06:00
Tom Tromey
1273564e45
make up/down buttons work again
...
Fixes #31
2015-07-02 22:27:48 -06:00
Tom Tromey
daceae7cb8
make theme affect empty windows as well
2015-05-25 15:48:33 -06:00
Tom Tromey
1ab13b05e5
update source windows when objfiles come or go
...
Fix #27
2015-05-20 20:12:44 -06:00
Tom Tromey
63baaf9c82
allow breakpoint deletion from source window
2015-05-16 13:18:34 -06:00
Tom Tromey
ff700b4a97
save and restore window geometry
2015-05-13 21:17:19 -06:00
Tom Tromey
6d49924a9d
change executable-line icon
2015-05-10 20:05:08 -06:00
Tom Tromey
089d965a4b
handle case where symtab is None
2015-05-10 10:57:09 -06:00
Tom Tromey
ffd6d83a03
fix breakpoint display in source windows
2015-05-10 10:53:01 -06:00
Tom Tromey
e8467f8488
make gui show and gui list commands
2015-05-09 21:32:02 -06:00
Tom Tromey
2eece3f732
fix buglet
2015-05-09 20:53:42 -06:00
Tom Tromey
a6e266899d
remove obsolete FIXMEs
2015-05-09 20:19:18 -06:00
Tom Tromey
7647b97c01
try to update source window when breakpoints change
...
this is not tested yet
2015-05-08 13:01:23 -06:00
Tom Tromey
f94c64d369
add parameters for line numbers and tab width
2015-05-07 11:30:14 -06:00
Tom Tromey
f11f884f8d
add up and down buttons to source window
2015-05-06 12:41:28 -06:00
Tom Tromey
77e504ab4b
add window title formatting
2015-05-04 21:01:18 -06:00
Tom Tromey
8ee28d3cef
add "set gui font"
2015-05-03 17:54:28 -06:00
Tom Tromey
2aba648451
let user choose the theme
2015-05-03 10:07:36 -06:00
Tom Tromey
34f59b68fb
set button sensitivity based on running state
2015-05-01 14:29:33 -06:00
Tom Tromey
eee43717ad
guess language of the source file
2015-04-30 14:05:23 -06:00
Tom Tromey
35143e403f
put window number and source basename in title bar
2015-04-30 13:34:40 -06:00
Tom Tromey
6ce3e8f72b
use a monospace font
2015-04-28 20:47:44 -06:00
Tom Tromey
99ca7a2297
make Toplevel call start_gtk
2013-11-15 19:26:37 -07:00
Tom Tromey
bcca43094b
find symtab even in frame-less case
2013-11-14 12:12:49 -07:00
Tom Tromey
fc79d59d09
send _disconnect_events to the correct thread
2013-11-14 12:06:18 -07:00
Tom Tromey
e44236b2fb
fix typo that caused the wrong icon to be displayed
2013-11-14 10:46:07 -07:00
Tom Tromey
3ecb5ad7f1
initial change to use the line-table API
...
this changes the source window to try to use the new
line-table API, to display icons in the source window
indicating executable lines
next step should be making the markers clickable, to
set a breakpoint or pop up a menu for "advance"
or the like
2013-11-11 21:48:05 -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
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