2010-05-16 Michael Snyder <msnyder@vmware.com>

* source.c (_initialize_source): Add "rev" as an abbreviation
	for the "reverse-search" command.
This commit is contained in:
Michael Snyder 2010-05-16 21:26:53 +00:00
parent 123f5f96b6
commit dd304d5382
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-05-16 Michael Snyder <msnyder@vmware.com>
* source.c (_initialize_source): Add "rev" as an abbreviation
for the "reverse-search" command.
2010-05-16 Michael Snyder <msnyder@vmware.com> 2010-05-16 Michael Snyder <msnyder@vmware.com>
* record.c: White space. * record.c: White space.

View File

@ -1971,6 +1971,7 @@ The matching line number is also stored as the value of \"$_\"."));
add_com ("reverse-search", class_files, reverse_search_command, _("\ add_com ("reverse-search", class_files, reverse_search_command, _("\
Search backward for regular expression (see regex(3)) from last line listed.\n\ Search backward for regular expression (see regex(3)) from last line listed.\n\
The matching line number is also stored as the value of \"$_\".")); The matching line number is also stored as the value of \"$_\"."));
add_com_alias ("rev", "reverse-search", class_files, 1);
if (xdb_commands) if (xdb_commands)
{ {