Fix the only incorrect case found by command_structure_invariants selftest.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 4 May 2020 21:02:18 +0000 (23:02 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 15 May 2020 20:17:45 +0000 (22:17 +0200)
commita7b9ceb8b44cd36496e266894075e2af60c3e153
treef5234249dcf0b82411769af36184b1ae69a7d26e
parentb2188a06e4583067a503fbc271e110e814890cc1
Fix the only incorrect case found by command_structure_invariants selftest.

The next commit introduces a selftest that detects when the GDB
command structure does not define a tree when using the pointers
'next/*prefixlist'.  This test detects one such case, fixed
by this commit.

The command 'info set' was defined as a specific prefix command,
but re-using the command list already used for the 'show' command.
This leads to the command tree 'next/*prefixlist' to not be a tree.

This change defines 'info set ' as an alias, thereby fixing the selftest.

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

* cli/cli-cmds.c (_initialize_cli_cmds): Define 'info set' as
an alias of 'show'.
gdb/ChangeLog
gdb/cli/cli-cmds.c
This page took 0.02419 seconds and 4 git commands to generate.