aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-07-09 07:23:33 +0000
committerPierre Muller <muller@sourceware.org>2009-07-09 07:23:33 +0000
commita177aad3d79648d06b5624652ad267e010d2b389 (patch)
treef1186f5640d89b6658f679ea5b0ef4d546da65e6 /gdb
parent15e46ac194cf5e82b75154de678c8d248a01951a (diff)
downloadgdb-a177aad3d79648d06b5624652ad267e010d2b389.zip
gdb-a177aad3d79648d06b5624652ad267e010d2b389.tar.gz
gdb-a177aad3d79648d06b5624652ad267e010d2b389.tar.bz2
* cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/cli/cli-cmds.c1
2 files changed, 5 insertions, 0 deletions
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 <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.
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."));