gdb: make add_info_alias accept target as a cmd_list_element
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 27 May 2021 17:59:01 +0000 (13:59 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 27 May 2021 18:00:07 +0000 (14:00 -0400)
commite0f25bd9717c7973197095523db7c1cdc956cea2
tree69041b783e0a83083475fc4390423bdee176ebe3
parent3947f654eabb1b6ccf8aad11ece46dc4b027f0f0
gdb: make add_info_alias accept target as a cmd_list_element

Same idea as previous patch, but for add_info_alias.

gdb/ChangeLog:

* command.h (add_info_alias): Accept target as
cmd_list_element.  Update callers.

Change-Id: If830d423364bf42d7bea5ac4dd3a81adcfce6f7a
gdb/ChangeLog
gdb/breakpoint.c
gdb/cli/cli-decode.c
gdb/command.h
gdb/guile/guile.c
gdb/infcmd.c
gdb/infrun.c
gdb/solib.c
gdb/stack.c