gdb: remove add_alias_cmd overload that accepts a string
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:08 +0000 (14:00 -0400)
commit5e84b7eefba5b4299b0ca80aecc5d4e99c195c1e
tree65d675353e6cb9f90711947244a8f78d156f7021
parente0f25bd9717c7973197095523db7c1cdc956cea2
gdb: remove add_alias_cmd overload that accepts a string

Same idea as previous patch, but for add_alias_cmd.  Remove the overload
that accepts the target command as a string (the target command name),
leaving only the one that takes the cmd_list_element.

gdb/ChangeLog:

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

Change-Id: I546311f411e9e7da9302322d6ffad4e6c56df266
26 files changed:
gdb/ChangeLog
gdb/arch-utils.c
gdb/breakpoint.c
gdb/cli/cli-cmds.c
gdb/cli/cli-decode.c
gdb/command.h
gdb/corefile.c
gdb/cp-support.c
gdb/gnu-nat.c
gdb/guile/guile.c
gdb/language.c
gdb/macrocmd.c
gdb/maint.c
gdb/mips-tdep.c
gdb/printcmd.c
gdb/record-btrace.c
gdb/record-full.c
gdb/record.c
gdb/remote.c
gdb/solib.c
gdb/sparc64-tdep.c
gdb/symtab.c
gdb/tracepoint.c
gdb/valprint.c
gdb/value.c
gdb/windows-tdep.c
This page took 0.027531 seconds and 4 git commands to generate.