From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Marshall 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 08:22:28 +0100 Message-ID: <4AA757B4.7090204@tnei.co.uk> References: <87ljkp79u1.fsf@tnei.co.uk> <19110.57126.832288.236368@totara.tehura.co.nz> Reply-To: Robert Marshall , 4375@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252482533 5705 80.91.229.12 (9 Sep 2009 07:48:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 07:48:53 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 4375@emacsbugs.donarmstrong.com To: Nick Roberts Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 09:48:46 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 1MlHv3-0005Xw-Lw for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 09:48:45 +0200 Original-Received: from localhost ([127.0.0.1]:58771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlHv0-0006s5-T9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 03:48:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlHtc-0006ZF-AD for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:47:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlHtW-0006XQ-O7 for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:47:15 -0400 Original-Received: from [199.232.76.173] (port=40977 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlHtW-0006XN-J8 for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:47:10 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:9499) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlHtW-0003md-46 for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:47:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlHtV-0001oN-2h for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:47:09 -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 n897kwxf031733; Wed, 9 Sep 2009 00:46:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n897U8rw029051; Wed, 9 Sep 2009 00:30:08 -0700 Resent-Date: Wed, 9 Sep 2009 00:30:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Robert Marshall Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 09 Sep 2009 07:30:08 +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.125248095928012 (code B ref 4375); Wed, 09 Sep 2009 07:30:08 +0000 Original-Received: (at 4375) by emacsbugs.donarmstrong.com; 9 Sep 2009 07:22:39 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.tnei-mail.com (Debian-exim@tnei.co.uk [83.170.102.119]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n897MbXA028008 for <4375@emacsbugs.donarmstrong.com>; Wed, 9 Sep 2009 00:22:39 -0700 Original-Received: from mangw.ipsa-power.com ([83.138.33.114] helo=[130.88.108.50]) by mail.tnei-mail.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MlHQs-0005Io-IW; Wed, 09 Sep 2009 08:17:35 +0100 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <19110.57126.832288.236368@totara.tehura.co.nz> X-SA-Exim-Connect-IP: 83.138.33.114 X-SA-Exim-Mail-From: robert.marshall@tnei.co.uk X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.tnei-mail.com) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 09 Sep 2009 03:47:15 -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:30877 gmane.emacs.pretest.bugs:25023 Archived-At: Nick Roberts wrote: > > Maybe associated with the other gdb error I have just reported. > > If I run gud with --annotate=3 > > I get lots of pre-prompt and post-prompt output > > (perhaps this is to be expected), I kill the process with a signals KILL > > - off the pulldown menu) and if I then attempt to kill the *gud ...* > > buffer I get the message > > > > gdb-input: Buffer *gud-ipsa-scripted* has no process > > > > and the buffer is not killed :-( > > That does seem to be a bug, I have a look at it. However, Emacs 23.1.50 > should run GDB using GDB/MI (gdb -i=mi) not annotations (gdb --annotate=3) > so you shouldn't see any pre-prompt and post-prompt output. I don't know > if you've customized gud-gdb-command-name or if your're manually editing > in the mini-buffer but you need to start with something like: > > Run gdb (like this): gdb -i=mi yourprog > > and you shouldn't need to kill the debugger. Note that to stop the inferior > (program being debugged) you use C-c C-c (comint-interrupt-subjob) which > is signals BREAK on the pulldown menu. > > > > ... > > In GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) > > of 2009-09-08 on robert-laptop > Looks as if my earlier bug report hasn't appeared (the other bug was why I was trying --annotate) If I run with -i=mi I get lots of mi_cmd_stack_info_frame: No arguments required messages. Also if I try turning on tooltips when I hold the mouse over a variable I get the message error in process filter: Args out of range: "", 0, -1 There's also a longish wait on startup when it is turning off non stop mode and I see the message there No symbol "non" in current context. in the gdb buffer, I don't know if that is expected? If I then do a quit in the debugger I also get the message about the process not running. Robert -- Robert A J Marshall, TNEI Services Ltd, 86-90 London Road, Manchester, M1 2PW Registered in England & Wales No. 03891836, Registered office: Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE tel: +44 161 615 6017; fax: +44 161 615 6001; mobile: +44 7759 688384 web: http://IPSA-Power.com