diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/source.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2c4368f..c5415d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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> + * record.c: White space. * regcache.c: White space. * reggroups.c: White space. diff --git a/gdb/source.c b/gdb/source.c index 210a0e0..cad0160 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) { |