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'.
This commit is contained in:
Yao Qi 2012-11-08 04:05:16 +00:00
parent 6febeb7413
commit 1e96de833a
4 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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'.
2012-11-07 Pedro Alves <palves@redhat.com>
* arm-tdep.c: Make defs.h be the first include.

View file

@ -1,3 +1,7 @@
2012-11-08 Yao Qi <yao@codesourcery.com>
* gdb.texinfo (Search): Add kindex for 'fo'.
2012-11-05 Tom Tromey <tromey@redhat.com>
PR python/14802:

View file

@ -6955,6 +6955,7 @@ regular expression.
@table @code
@kindex search
@kindex forward-search
@kindex fo @r{(@code{forward-search})}
@item forward-search @var{regexp}
@itemx search @var{regexp}
The command @samp{forward-search @var{regexp}} checks each line,

View file

@ -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\