gdb: remove duplicate cmd_list_element declarations
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 8 Sep 2021 15:07:19 +0000 (16:07 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 27 Sep 2021 10:31:35 +0000 (11:31 +0100)
commit5cf3b309489d1606ee0fb7e452f467d82fd1b765
treeca654bc44fa013724c6d661b460c0365ceeb8f2b
parent275ee935b336458aea19b63ce745cacee9b68d12
gdb: remove duplicate cmd_list_element declarations

For some reason we have two locations where cmd_list_elements are
declared, cli/cli-cmds.h and gdbcmd.h.  Worse still there is
duplication between these two locations.

In this commit I have moved all of the cmd_list_element declarations
from gdbcmd.h into cli/cli-cmds.h and removed the duplicates.

There should be no user visible changes after this commit.
gdb/cli/cli-cmds.h
gdb/gdbcmd.h