aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-04-28 08:54:17 -0600
committerTom Tromey <tromey@adacore.com>2020-04-28 08:54:17 -0600
commit2b2fbab8eff221506975a7c8d00ea92d47de915e (patch)
treeee6b1dae3368d5eb330f5e80507ccb7e08b0cc15 /gdb/NEWS
parenta65189c980ccd5370bc2d020220f66d1dd327190 (diff)
downloadgdb-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/NEWS')
-rw-r--r--gdb/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 01e73c9..5b9eabe 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -73,6 +73,9 @@ GNU/Linux/RISC-V (gdbserver) riscv*-*-linux*
field of a dynamic type may have None for its "bitpos" attribute
as well.
+ ** Commands written in Python can be in the "TUI" help class by
+ registering with the new constant gdb.COMMAND_TUI.
+
*** Changes in GDB 9
* 'thread-exited' event is now available in the annotations interface.