From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17533 invoked by alias); 8 Oct 2008 19:16:23 -0000 Received: (qmail 17525 invoked by uid 22791); 8 Oct 2008 19:16:22 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Oct 2008 19:15:43 +0000 Received: from HOME-C4E4A596F7 ([77.127.3.182]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K8F0077QPJIUSH0@i-mtaout7.012.net.il> for gdb-patches@sourceware.org; Wed, 08 Oct 2008 21:16:31 +0200 (IST) Date: Wed, 08 Oct 2008 19:16:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] Resubmit reverse debugging [5/5] In-reply-to: <1223489663.19088.43.camel@localhost.localdomain> X-012-Sender: halo1@inter.net.il To: Thiago Jung Bauermann Cc: msnyder@vmware.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <48EC18F9.8040105@vmware.com> <1223489663.19088.43.camel@localhost.localdomain> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00252.txt.bz2 > From: Thiago Jung Bauermann > Cc: "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.