gdb: use intrusive_list for cmd_list_element aliases list
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 1 Dec 2021 16:41:31 +0000 (11:41 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Dec 2021 21:48:23 +0000 (16:48 -0500)
commitc471bdb19858ad0e7a0d5f5017fd5e1892525da8
tree4573ba65482f0a7af9542860167a4f97f0b79a71
parent46680d22de34be5057a1033eb489c1453e70eecc
gdb: use intrusive_list for cmd_list_element aliases list

Change the manually-implemented linked list to use intrusive_list.  This
is not strictly necessary, but it makes the code much simpler.

Change-Id: Idd08090ebf2db8bdcf68e85ef72a9635f1584ccc
gdb/cli/cli-decode.c
gdb/cli/cli-decode.h