Bug 10688 - rev abbreviation for reverse-search no longer works
Summary: rev abbreviation for reverse-search no longer works
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 6.8
: P2 normal
Target Milestone: 7.2
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 08:47 UTC by Konrad Schwarz
Modified: 2010-08-24 22:06 UTC (History)
2 users (show)

See Also:
Host: GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Schwarz 2009-09-23 08:47:52 UTC
The addition of the reverse execution commands (reverse-search, ...) has broken
the command abbreviation "rev" for reverse-search.

On the other hand, the ninth edition of the GDB manual documents rev as the
official abbreviation for reverse-search.

Please reinstate this behavior!

Typing reverse-search just to disambiguate it from the reverse execution
commands, which are supported for a tiny number of platforms, is too painful
---yes, I know about autocompletion, but it doesn't/hasn't work/ed for all
platforms.  Furthermore, the original designers of GDB clearly intended and
documented rev to mean reverse-search, and it has for many releases.

s always means step, so GDB supports "hard-wired" abbreviations.

Thanks,

Konrad Schwarz
Comment 1 Konrad Schwarz 2009-09-23 08:49:22 UTC
Sorry, the above example for a reverse-execution command should have been
reverse-step.
Comment 2 Konrad Schwarz 2009-09-23 08:53:50 UTC
I just noticed that "fo" for forward-search is also broken.
Comment 3 teawater 2009-09-24 02:52:53 UTC
There is not "add_alias_cmd" for "reverse-search".

But can find a line "You can abbreviate this command as @code{rev}." in @kindex
reverse-search.

Michael, what do you think about this issue?
Comment 4 msnyder@vmware.com 2009-09-24 03:39:42 UTC
Subject: Re:  rev abbreviation for reverse-search no longer
 works

teawater at gmail dot com wrote:
> ------- Additional Comments From teawater at gmail dot com  2009-09-24 02:52 -------
> There is not "add_alias_cmd" for "reverse-search".
> 
> But can find a line "You can abbreviate this command as @code{rev}." in @kindex
> reverse-search.
> 
> Michael, what do you think about this issue?

I agree -- reverse-search should have precedence, since it was 
implemented before the others.


Comment 5 Tom Tromey 2010-08-24 22:06:12 UTC
Fixed in 7.2.