This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Reverse Debugging, 5/5
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: gdb-patches at sourceware dot org, drow at false dot org, pedro at codesourcery dot com, teawater at gmail dot com
- Date: Fri, 03 Oct 2008 09:23:42 +0300
- Subject: Re: [RFA] Reverse Debugging, 5/5
- References: <48E3CD66.9020600@vmware.com> <umyhmixqu.fsf@gnu.org> <48E550B0.1070103@vmware.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 02 Oct 2008 15:52:32 -0700
> From: Michael Snyder <msnyder@vmware.com>
> CC: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
> "drow@false.org" <drow@false.org>,
> "pedro@codesourcery.com" <pedro@codesourcery.com>,
> "teawater@gmail.com" <teawater@gmail.com>
>
> Eli Zaretskii wrote:
>
> >> + add_com ("reverse-next", class_run, reverse_next, _("\
> >> +Step program backward, proceeding through subroutine calls.\n\
> > ^
> > Won't commands like "apropos" stop at the first comma when they
> > display the short descriptions of commands?
>
> Hmmm, you know, "next" has the same issue.
>
> (gdb) apropos next
> [...]
> next -- Step program
> nexti -- Step one instruction
>
>
> ... why does it stop after a comma, anyways?
I have no idea, it's something that came into existence long before I
started hacking GDB.
I'd say, if not too many doc strings use the comma at the end of the
first line, let's modify them to use a period, and remove this
annoying limitation, leaving only the period. WDYT?