mirror of
https://github.com/tromey/gdb-gui.git
synced 2025-09-05 17:20:22 +02:00
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
9 lines
384 B
Plaintext
9 lines
384 B
Plaintext
A few notes on gdb improvements that would help the GUI:
|
|
|
|
* The dprintf code here required some hacks.
|
|
Some kind of I/O redirection capability would be helpful.
|
|
Also this would require being able to subclass a dprintf breakpoint.
|
|
Alternatively, a hook on a Breakpoint that is called when a
|
|
linespec is resolved would work. Right now you can't make a pending
|
|
"gui dprintf".
|