diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-16 21:26:53 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-16 21:26:53 +0000 |
commit | dd304d5382484115a44a2aa81aafbb92e70ae462 (patch) | |
tree | 14577d90eac08a16a75f48b5426ee4becd6820a8 /gdb/source.c | |
parent | 123f5f96b6f084af89436ac1efaf7b77ab66bbe5 (diff) | |
download | binutils-gdb-dd304d5382484115a44a2aa81aafbb92e70ae462.tar.gz |
2010-05-16 Michael Snyder <msnyder@vmware.com>
* source.c (_initialize_source): Add "rev" as an abbreviation
for the "reverse-search" command.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/source.c b/gdb/source.c index 210a0e0c4f3..cad01608a66 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1971,6 +1971,7 @@ The matching line number is also stored as the value of \"$_\".")); add_com ("reverse-search", class_files, reverse_search_command, _("\ Search backward 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 ("rev", "reverse-search", class_files, 1); if (xdb_commands) { |