This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Resubmit reverse debugging [5/5]
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: msnyder at vmware dot com, gdb-patches at sourceware dot org
- Date: Wed, 08 Oct 2008 21:15:16 +0200
- Subject: Re: [RFA] Resubmit reverse debugging [5/5]
- References: <48EC18F9.8040105@vmware.com> <1223489663.19088.43.camel@localhost.localdomain>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.