[RFA] Resubmit reverse debugging [5/5]
Eli Zaretskii
eliz@gnu.org
Wed Oct 8 19:16:00 GMT 2008
> 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.
More information about the Gdb-patches
mailing list