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] Resubmit reverse debugging [5/5]


> From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
> Date: Wed, 08 Oct 2008 15:14:23 -0300
> 
> > +  add_com ("reverse-next", class_run, reverse_next, _("\
> > +Step program backward, proceeding through subroutine calls.\n\
> > +Like the \"reverse-step\" command as long as subroutine calls do not happen;\n\
> > +when they do, the call is treated as one instruction.\n\
> > +Argument N means do this N times (or till program stops for another reason).")
> > +	   );
> > +  add_com_alias ("rn", "reverse-next", class_alias, 1);
> 
> What about adding "previous" and either "pr" or "pre" as alias to
> reverse-next?

Please, not "pr".  The .gdbinit file that comes with Emacs defines a
user command named "pr" that prints any Lisp object.  This command is
central to debugging Emacs, so re-learning its name would be a hassle.


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