* cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.
authorPierre Muller <muller@sourceware.org>
Thu, 9 Jul 2009 07:23:33 +0000 (07:23 +0000)
committerPierre Muller <muller@sourceware.org>
Thu, 9 Jul 2009 07:23:33 +0000 (07:23 +0000)
gdb/ChangeLog
gdb/cli/cli-cmds.c

index b7c2297..7f70d4d 100644 (file)
@@ -1,3 +1,7 @@
+2009-07-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.
+
 2009-07-07  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.
index 1b17751..9c11204 100644 (file)
@@ -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."));