diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-28 08:54:17 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-28 08:54:17 -0600 |
commit | 2b2fbab8eff221506975a7c8d00ea92d47de915e (patch) | |
tree | ee6b1dae3368d5eb330f5e80507ccb7e08b0cc15 /gdb/doc | |
parent | a65189c980ccd5370bc2d020220f66d1dd327190 (diff) | |
download | gdb-2b2fbab8eff221506975a7c8d00ea92d47de915e.zip gdb-2b2fbab8eff221506975a7c8d00ea92d47de915e.tar.gz gdb-2b2fbab8eff221506975a7c8d00ea92d47de915e.tar.bz2 |
Allow Python commands to be in class_tui
Now that Python code can create TUI windows, it seemed appropriate to
allow Python commands to appear in the "TUI" help class. This patch
adds this capability.
gdb/ChangeLog
2020-04-28 Tom Tromey <tom@tromey.com>
* NEWS: Update.
* python/py-cmd.c (gdbpy_initialize_commands): Add COMMAND_TUI.
(cmdpy_init): Allow class_tui.
gdb/doc/ChangeLog
2020-04-28 Tom Tromey <tom@tromey.com>
* python.texi (Commands In Python): Document gdb.COMMAND_TUI.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/python.texi | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 305f2d5..6af7bce 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2020-04-28 Tom Tromey <tom@tromey.com> + + * python.texi (Commands In Python): Document gdb.COMMAND_TUI. + 2020-04-27 Tom Tromey <tromey@adacore.com> * python.texi (Types In Python): Mention missing fields. Add diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 3b1ccb4..a38f1da 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3829,6 +3829,13 @@ The command has to do with tracepoints. For example, @code{trace}, @kbd{help tracepoints} at the @value{GDBN} prompt to see a list of commands in this category. +@findex COMMAND_TUI +@findex gdb.COMMAND_TUI +@item gdb.COMMAND_TUI +The command has to do with the text user interface (@pxref{TUI}). +Type @kbd{help tui} at the @value{GDBN} prompt to see a list of +commands in this category. + @findex COMMAND_USER @findex gdb.COMMAND_USER @item gdb.COMMAND_USER |