Restore info_command and breakpoint
authorTom Tromey <tromey@adacore.com>
Mon, 11 May 2020 21:28:12 +0000 (15:28 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 11 May 2020 21:30:40 +0000 (15:30 -0600)
commit4fd6c7e872c3ab3adbca73d7fa76fed627bca890
tree674cdf53fdc793aba73e86351cab757a959d011b
parentd30dcd1288ab230d9600413fc78a29bbd96aa14a
Restore info_command and breakpoint

As discussed on gdb-patches, this restores info_command and the
breakpoint on info_command in gdb-gdb.gdb.  This reverts a tiny part
of 0743fc83c03 ("Replace most calls to help_list and cmd_show_list"),
as well as 652fc23a30a ("Remove gdb-gdb.gdb breakpoint on disappeared
function info_command.").

gdb/ChangeLog
2020-05-11  Tom Tromey  <tromey@adacore.com>

* cli/cli-cmds.c (info_command): Restore.
(_initialize_cli_cmds): Use add_prefix_command for "info".
* gdb-gdb.gdb.in: Restore breakpoint on info_command.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/gdb-gdb.gdb.in