From a177aad3d79648d06b5624652ad267e010d2b389 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 9 Jul 2009 07:23:33 +0000 Subject: [PATCH] * cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command. --- gdb/ChangeLog | 4 ++++ gdb/cli/cli-cmds.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b7c2297..7f70d4d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-07-08 Pierre Muller + + * cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command. + 2009-07-07 Ulrich Weigand * tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 1b17751..9c11204 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -1341,6 +1341,7 @@ Without an argument, history expansion is enabled."), Generic command for showing things about the program being debugged."), &infolist, "info ", 0, &cmdlist); add_com_alias ("i", "info", class_info, 1); + add_com_alias ("inf", "info", class_info, 1); add_com ("complete", class_obscure, complete_command, _("List the completions for the rest of the line as a command.")); -- 2.7.4