[PATCH] Allow Python commands to be in class_tui

Eli Zaretskii eliz@gnu.org
Mon Apr 27 02:24:13 GMT 2020


> From: Tom Tromey <tom@tromey.com>
> Date: Sun, 26 Apr 2020 13:49:15 -0600
> Cc: Tom Tromey <tom@tromey.com>
> 
> 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.
> 
> 2020-04-25  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-25  Tom Tromey  <tom@tromey.com>
> 
> 	* python.texi (Commands In Python): Document gdb.COMMAND_TUI.

OK for the documentation parts.

Thanks.


More information about the Gdb-patches mailing list