This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Reverse Debugging, 5/5


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]