aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-11-08 04:05:16 +0000
committerYao Qi <yao@codesourcery.com>2012-11-08 04:05:16 +0000
commit1e96de833a703034395bd7f2b3d532e344035bb8 (patch)
tree39a0c290060c80683a31b16cb418561d8160e5e0 /gdb/source.c
parent6febeb7413ca9cbd65432cb3ffd33904046a82a8 (diff)
downloadgdb-1e96de833a703034395bd7f2b3d532e344035bb8.zip
gdb-1e96de833a703034395bd7f2b3d532e344035bb8.tar.gz
gdb-1e96de833a703034395bd7f2b3d532e344035bb8.tar.bz2
gdb/doc:
2012-11-08 Yao Qi <yao@codesourcery.com> * gdb.texinfo (Search): Add kindex for 'fo'. gdb: 2012-11-08 Yao Qi <yao@codesourcery.com> PR gdb/14777. * source.c (_initialize_source): Call add_com_alias to abbreviate 'forward-search' as 'fo'.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/source.c b/gdb/source.c
index bd11c63..307fecc 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1953,6 +1953,7 @@ The address is also stored as the value of \"$_\"."));
Search for regular expression (see regex(3)) from last line listed.\n\
The matching line number is also stored as the value of \"$_\"."));
add_com_alias ("search", "forward-search", class_files, 0);
+ add_com_alias ("fo", "forward-search", class_files, 1);
add_com ("reverse-search", class_files, reverse_search_command, _("\
Search backward for regular expression (see regex(3)) from last line listed.\n\