diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2020-04-30 18:35:33 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2020-04-30 18:40:57 +0200 |
commit | 102e38eba728cd3b969723f7cebd13f7220364b8 (patch) | |
tree | 0881ea50fe42d42fee9664880f605cd938a9384e /gdb/stack.c | |
parent | 7d186bc04245c5757f396c2d4f8f89f24818628e (diff) | |
download | gdb-102e38eba728cd3b969723f7cebd13f7220364b8.zip gdb-102e38eba728cd3b969723f7cebd13f7220364b8.tar.gz gdb-102e38eba728cd3b969723f7cebd13f7220364b8.tar.bz2 |
Remove duplicated creation of "frame" command and "f" alias.
"frame" and "f" are created twice by stack.c _initialize_stack.
Remove the second creation.
Regression tested on amd64/Debian.
2020-04-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* stack.c (_initialize_stack): Remove duplicated creation
of "frame" command and "f" alias.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 7f541a6..e8a9a92 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -3324,7 +3324,6 @@ Select and print a stack frame.\n\ With no argument, print the selected stack frame. (See also \"info frame\").\n\ A single numerical argument specifies the frame to select."), &frame_cmd_list, "frame ", 1, &cmdlist); - add_com_alias ("f", "frame", class_stack, 1); #define FRAME_APPLY_OPTION_HELP "\ @@ -3384,14 +3383,6 @@ shortcut for 'frame apply all -s [OPTION]... COMMAND'\n\ See \"help frame apply all\" for available options.")); set_cmd_completer_handle_brkchars (cmd, frame_apply_all_cmd_completer); - add_prefix_cmd ("frame", class_stack, - &frame_cmd.base_command, _("\ -Select and print a stack frame.\n\ -With no argument, print the selected stack frame. (See also \"info frame\").\n\ -A single numerical argument specifies the frame to select."), - &frame_cmd_list, "frame ", 1, &cmdlist); - add_com_alias ("f", "frame", class_stack, 1); - add_cmd ("address", class_stack, &frame_cmd.address, _("\ Select and print a stack frame by stack address.\n\ |