From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Unfifying M-x gdb and M-x gdba Date: Sun, 28 Dec 2003 13:46:04 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16366.56988.662715.458466@nick.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1072620198 6042 80.91.224.253 (28 Dec 2003 14:03:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2003 14:03:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 28 15:03:15 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AabVj-0006FG-00 for ; Sun, 28 Dec 2003 15:03:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AabVj-0000Lh-00 for ; Sun, 28 Dec 2003 15:03:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AacMU-0003PA-PL for emacs-devel@quimby.gnus.org; Sun, 28 Dec 2003 09:57:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AacKJ-0002gC-HQ for emacs-devel@gnu.org; Sun, 28 Dec 2003 09:55:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AacJe-0002TU-3O for emacs-devel@gnu.org; Sun, 28 Dec 2003 09:55:22 -0500 Original-Received: from [194.247.49.123] (helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AacJZ-0002R8-Dd for emacs-devel@gnu.org; Sun, 28 Dec 2003 09:54:46 -0500 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id 66DBE75FDF; Sun, 28 Dec 2003 13:46:05 +0000 (GMT) Original-To: emacs-devel@gnu.org X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18890 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18890 I have just committed changes that allow both modes for gdb to be run from M-x gdb, in the manner suggested by Stefan over a year ago. Now if you type M-x gdb, you get something like: Run gdb (like this): gdb --annotate=3 myprog which will start the mode in gdb-ui.el which previously was invoked (and still can be) with M-x gdba. If you want the old behaviour you can edit the minibuffer to give: Run gdb (like this): gdb --fullname myprog and if you always want this behaviour you set gud-gdb-command-name to "gdb --fullname". I think the mode in gdb-ui.el is quite reliable now, and by the time of the next release of Emacs, should be better than the one in gud.el in nearly all respects. If people generally don't like it then I will set the default back, of course. Apart from the elegance of unification or integration, this approach has the advantage that Valgrind in the GUD buffer for both modes. I have already touched on this in help-gnu-emacs and will elaborate on this list shortly. Nick http://www.nick.uklinux.net