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]


On Wednesday 08 October 2008 20:15:16, Eli Zaretskii wrote:
> > From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> > 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.

This argument isn't valid.  User defined commands override
GDB's built-in commands, so you'd not lose anything.

pr wouldn't even collide with anything current:

 (gdb) pr
 Ambiguous command "pr": print, print-object, printf, process.

-- 
Pedro Alves


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