]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Ensure class_tui is listed in the output of "help" giving the list of classes.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 23 May 2020 13:11:52 +0000 (15:11 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 26 May 2020 20:18:42 +0000 (22:18 +0200)
commite98d2e6da4512157ab749734dc872aa41830d7c8
tree24d847708bbeb0ef00b53e3a741abaa97f8be8d5
parent53a47a3e4904839a902e34d4dfd3f53c397d66e1
Ensure class_tui is listed in the output of "help" giving the list of classes.

Before this change, "help" was not showing the TUI class.
With this change:
  (gdb) help
  ...
  support -- Support facilities.
  text-user-interface -- TUI is the GDB text based interface.
  tracepoints -- Tracing of program execution without stopping the program.
  ...
  (gdb) help text-user-interface
  TUI is the GDB text based interface.
  In TUI mode, GDB can display several text windows showing
  the source file, the processor registers, the program disassembly, ...

  List of commands:

  + -- Scroll window forward.
  ...

Note that we cannot use "tui" for the fake class command name, as "tui"
is a command.

gdb/ChangeLog

2020-05-26  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* command.h: Add comment giving the name of class_tui.
* cli/cli-cmds.c (_initialize_cli_cmds): If TUI defined,
create the fake command for the help for class_tui.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/command.h