]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Allow Python commands to be in class_tui
authorTom Tromey <tom@tromey.com>
Tue, 28 Apr 2020 14:54:17 +0000 (08:54 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 28 Apr 2020 14:54:17 +0000 (08:54 -0600)
commit2b2fbab8eff221506975a7c8d00ea92d47de915e
treeee6b1dae3368d5eb330f5e80507ccb7e08b0cc15
parenta65189c980ccd5370bc2d020220f66d1dd327190
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.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/python.texi
gdb/python/py-cmd.c