]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
command-def-selftests.c: detect missing or wrong prefix cmd in subcommands.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 9 May 2020 14:17:45 +0000 (16:17 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 15 May 2020 20:17:45 +0000 (22:17 +0200)
commit89bcba74f89baceba3fa7387622e3d60e1de02e8
tree2f91d85620ff9930aaa2c2709fd7cf71014db9f5
parent3f4d92ebdf7f848b5ccc9e8d8e8514c64fde1183
command-def-selftests.c: detect missing or wrong prefix cmd in subcommands.

This test revealed a number of problems that are fixed in the previous commit.

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

* unittests/command-def-selftests.c (traverse_command_structure):
Verify all commands of a list have the same prefix command and
that only the top cmdlist commands have a null prefix.
gdb/ChangeLog
gdb/unittests/command-def-selftests.c