aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.c
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/cli/cli-cmds.c
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/cli/cli-cmds.c')
-rw-r--r--gdb/cli/cli-cmds.c1
1 files changed, 1 insertions, 0 deletions
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."));