From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4375: 23.1.50; can't kill killed gud buffer Date: Wed, 09 Sep 2009 23:29:15 -0400 Message-ID: References: <87ljkp79u1.fsf@tnei.co.uk> <19110.57126.832288.236368@totara.tehura.co.nz> <4AA757B4.7090204@tnei.co.uk> <19111.29024.69183.195599@totara.tehura.co.nz> <5E16B510-DCCD-4E1D-8521-09938048182F@swipnet.se> <19111.36343.669900.640184@totara.tehura.co.nz> <19112.9315.801126.825982@totara.tehura.co.nz> Reply-To: Stefan Monnier , 4375@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252554440 4192 80.91.229.12 (10 Sep 2009 03:47:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2009 03:47:20 +0000 (UTC) Cc: "emacs-pretest-bug@gnu.org" , Robert Marshall , 4375@emacsbugs.donarmstrong.com To: nickrob@snap.net.nz (Nick Roberts) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 10 05:47:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mlacq-0001IK-D6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Sep 2009 05:47:12 +0200 Original-Received: from localhost ([127.0.0.1]:46586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mlacp-0004KS-KQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 23:47:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mlacl-0004KN-Qv for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 23:47:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mlacg-0004JV-EK for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 23:47:06 -0400 Original-Received: from [199.232.76.173] (port=43698 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mlacg-0004JS-6u for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 23:47:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39889) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mlacf-0007oY-MG for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 23:47:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8A3kxAV012763; Wed, 9 Sep 2009 20:46:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8A3Z4Go011122; Wed, 9 Sep 2009 20:35:04 -0700 Resent-Date: Wed, 9 Sep 2009 20:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 10 Sep 2009 03:35:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4375 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4375-submit@emacsbugs.donarmstrong.com id=B4375.125255336410397 (code B ref 4375); Thu, 10 Sep 2009 03:35:04 +0000 Original-Received: (at 4375) by emacsbugs.donarmstrong.com; 10 Sep 2009 03:29:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.181] (may be forged)) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8A3TM1o010394 for <4375@emacsbugs.donarmstrong.com>; Wed, 9 Sep 2009 20:29:24 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EAB4PqEpFpZBe/2dsb2JhbACBU9xmhBgFh20 X-IronPort-AV: E=Sophos;i="4.44,361,1249272000"; d="scan'208";a="45492367" Original-Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 09 Sep 2009 23:27:47 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E41CD941B; Wed, 9 Sep 2009 23:29:15 -0400 (EDT) In-Reply-To: <19112.9315.801126.825982@totara.tehura.co.nz> (Nick Roberts's message of "Thu, 10 Sep 2009 09:55:47 +1200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 09 Sep 2009 23:47:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30909 gmane.emacs.pretest.bugs:25032 Archived-At: > Emacs 23.1 is always an option for those using older GDB releases. Rather you mean "using gud-gdb is always an option for those using older GDB releases" (we're talking about what to do for Emacs-23.2, so we take for granted that the user will be using Emacs-23.2). That might be good enough (I personally always end up using gud-gdb since I've always found M-x gdb to be somewhat unreliable). > properly to GDB/MI is not an easy thing to do and I want to focus on that > rather than on compatibility with old versions of GDB. Preserving the gdb-ui.el code should be doable without any interference with gdb-mi.el. The code they share via gud.el is pretty small. >> BTW, as you probably already know, I really think that M-x gdb should Do >> the Right Thing, whether gdb is run with --annotate=2, --annotate=3, >> or -i=mi. I.e. it should wait to see GDB's output and then decide based >> on that output whether to use gdb-mi.el or gdb-ui.el or just gud.el. > We used to do that with "--fullname" and "--annotate=3" but that caused > problems when execution was started in the users .gdbinit file. The two > options are now invoked with separate functions (M-x gud-gdb and M-x gdb). I know, but I still think this is a temporary workaround. We should document it well in some comments to make sure someone who wants to attack the problem doesn't waste time going through the same problems agains. Stefan