From miles.bader@necel.com Wed Aug 19 01:30:45 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Aug 2009 08:30:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7J8Uhu9019137 for ; Wed, 19 Aug 2009 01:30:45 -0700 Received: from mx10.gnu.org ([199.232.76.166]:55581) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MdgZ9-0003RC-4G for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 04:30:43 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MdgZ5-0006n8-FK for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 04:30:42 -0400 Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:49712) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdgZ4-0006mF-EA; Wed, 19 Aug 2009 04:30:39 -0400 Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n7J8UKaV017590; Wed, 19 Aug 2009 17:30:33 +0900 (JST) Received: from relay21.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay11.aps.necel.com with ESMTP; Wed, 19 Aug 2009 17:30:33 +0900 Received: from dhlpc061 ([10.114.112.173] [10.114.112.173]) by relay21.aps.necel.com with ESMTP; Wed, 19 Aug 2009 17:30:33 +0900 Received: by dhlpc061 (Postfix, from userid 31295) id 8E48D52E25B; Wed, 19 Aug 2009 17:30:33 +0900 (JST) From: Miles Bader To: emacs-pretest-bug@gnu.org Subject: 23.1.50; gdb mode screwup when setting breakpoint Reply-To: Miles Bader System-Type: x86_64-unknown-linux-gnu Blat: Foop Date: Wed, 19 Aug 2009 17:30:33 +0900 Message-ID: Lines: 155 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: miles.bader@necel.com X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (1) start emacs, with -Q (2) start gdb on an executable in the current dir; let's say it's called "foo", and is the most recent excutable in that dir, so gdb chooses it by default: M-x gdb RET (3) split the current window: C-x 2 (3) Visit the source file containing the "main" function, and move to some source line in that function: C-x C-f foo.c RET C-n ... (4) Set a breakpoint on that line: C-x SPC (5) **** Note that the "(gdb) " prompt in the *gud-foo* buffer has disappeared! Weird... but let's continue (6) Select the other window, where the *gud-foo* buffer is: C-x o (7) Try to run the program, even though the prompt is gone: run RET (8) **** The following error messages are given (these lines are from the *Messages* buffer): error in process filter: gdb-starting: Unexpected `starting' annotation error in process filter: Unexpected `starting' annotation Also note that for some reason, the "run" command caused a breakpoint list to be displayed in the *gud-foo* buffer, and that now there's a prompt again! (9) Try to run again, using "run RET"; this time it works (after you answer "y" to the gdb query), and correctly stops at the breakpoint you set. Thanks, -miles If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.32 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.5) of 2009-08-19 on dhlpc061 Windowing system distributor `The X.Org Foundation', version 11.0.10603000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Diff Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t recentf-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-j g C-p C-k C-n C-p C-p C-e C-p C-b C-e C-b C-b C-j C-j g C-p C-k C-p C-p C-p C-p C-p C-p C-p C-p C-n M-b M-b M-b M-b M-b M-b M-b f SPC v e r y d d SPC n i c e C-n C-a C-d a C-n C-e C-b C-b C-b C-b C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-u C-p C-u C-p C-u C-p C-u C-p C-p C-e M-h s o m e g C-a C-n C-c C-c q K g p p = SPC q n p p p p p p p p p p p p p p p p p n n n p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p x r c SPC C-c C-SPC C-c C-q q SPC h i SPC : ( ) ) C-c C-SPC C-c C-SPC C-c C-SPC C-x d C-x d C-x d C-c C-SPC n n n n n C-v C-v g C-c C-SPC h e y a w h a t SPC d o i n ? C-c C-SPC C-c C-SPC C-u C-u C-p C-u C-p C-n = SPC n q n n n n n n n n n n n n n n n n n n n x g d b C-g x r e p o r t SPC Recent messages: Reading active file via nnml...done Checking new news...done Retrieving newsgroup: nntp+news.gmane.org:gmane.emacs.devel... Fetching headers for nntp+news.gmane.org:gmane.emacs.devel...done Suppressing duplicates...done Scoring...done Sorting articles...done Generating summary...done Waiting for async article... x*DING* Quit Load-path shadows: /home/soft1/miles/.emacs.d/elpa/lua-mode-20070608/lua-mode hides /usr/local/share/emacs/site-lisp/lua-mode /usr/share/emacs22/site-lisp/dictionaries-common/ispell hides /usr/local/share/emacs/23.1.50/lisp/textmodes/ispell /usr/share/emacs22/site-lisp/dictionaries-common/flyspell hides /usr/local/share/emacs/23.1.50/lisp/textmodes/flyspell ~/src/elisp/timer hides /usr/local/share/emacs/23.1.50/lisp/emacs-lisp/timer -- The car has become... an article of dress without which we feel uncertain, unclad, and incomplete. [Marshall McLuhan, Understanding Media, 1964] From dima@sphinx.net.ru Thu Aug 20 15:17:14 2009 Received: (at 4200) by emacsbugs.donarmstrong.com; 20 Aug 2009 22:17:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL,HAS_BUG_NUMBER, SPF_HELO_PASS,WWWRU autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sphinx.net.ru (sphinx.net.ru [82.146.58.194]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7KMHAA0005552 for <4200@emacsbugs.donarmstrong.com>; Thu, 20 Aug 2009 15:17:13 -0700 Received: from blizzard (95-24-97-29.broadband.corbina.ru [95.24.97.29]) (authenticated bits=0) by sphinx.net.ru (8.14.3/8.14.2) with ESMTP id n7KMH3Xd033217; Fri, 21 Aug 2009 02:17:03 +0400 (MSD) (envelope-from dima@sphinx.net.ru) From: Dmitry Dzhus To: Miles Bader Cc: 4200@debbugs.gnu.org Cc: dima@sphinx.net.ru Subject: Re: bug#4200: 23.1.50; gdb mode screwup when setting breakpoint References: Date: Fri, 21 Aug 2009 02:12:27 +0400 In-Reply-To: (Miles Bader's message of "Wed, 19 Aug 2009 17:30:33 +0900") Message-ID: <87tz026sok.fsf@sphinx.net.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Miles Bader wrote: > Unexpected `starting' annotation `gdb-starting' from gdb-mi.el in Emacs trunk doesn't contain such code. Looks like somehow `M-x gdb' launched old GDB UI in your Emacs. --=20 Happy Hacking. http://sphinx.net.ru =E3=82=80 From snogglethorpe@gmail.com Thu Aug 20 16:20:16 2009 Received: (at 4200) by emacsbugs.donarmstrong.com; 20 Aug 2009 23:20:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7KNKEo5015500 for <4200@emacsbugs.donarmstrong.com>; Thu, 20 Aug 2009 16:20:16 -0700 Received: by ewy21 with SMTP id 21so289743ewy.45 for <4200@emacsbugs.donarmstrong.com>; Thu, 20 Aug 2009 16:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=5tWDFplvJPLjhAPr4RZ0v+x6mtbxrGaYUgBXmDorbqk=; b=LZihadm3wNz1iH5aExEcTMAtsuJ68I1+Q6QIUWByh7fwLROfv6btdteRM+7uHfz/0Z rfSswsiTBPE8LsiqdzZAoshIX7Elupbmlf2cqoHdjvvlfhOLQfcsE5p4qAE3NQanwr2m PEU4nB7lp/9cXJpNCZ9XVnq3Q0qD8WkMyCJKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=L1izqkSvBr9jFtmW2N2gVpD4+d1G8G21SjyFRHHQl2ZCvvXfnj3jjN5LBsVNwpEibZ bAVbgvcKo+KdFBjqDz8uqnhJ3PHUDeaRzuF9lNBkorB7r3pMoE2jKBs2xbkdvXZdo1hA ytjceJypWji1BnN/yYfpqLF5PuYufOJvuh3+I= MIME-Version: 1.0 Sender: snogglethorpe@gmail.com Received: by 10.210.133.17 with SMTP id g17mr731831ebd.9.1250810409040; Thu, 20 Aug 2009 16:20:09 -0700 (PDT) In-Reply-To: <87tz026sok.fsf@sphinx.net.ru> References: <87tz026sok.fsf@sphinx.net.ru> From: Miles Bader Date: Fri, 21 Aug 2009 08:19:48 +0900 X-Google-Sender-Auth: bbc847fbc0ef13b6 Message-ID: Subject: Re: bug#4200: 23.1.50; gdb mode screwup when setting breakpoint To: Dmitry Dzhus Cc: 4200@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 21, 2009 at 7:12 AM, Dmitry Dzhus wrote: >> Unexpected `starting' annotation > > `gdb-starting' from gdb-mi.el in Emacs trunk doesn't contain such code. > Looks like somehow `M-x gdb' launched old GDB UI in your Emacs. Can you not replicate it? I was using the trunk as of a few days ago. Do I need to use anything more than "emacs -Q" to test this? Thanks, -Miles -- Do not taunt Happy Fun Ball. From rgm@gnu.org Tue Aug 25 18:35:10 2009 Received: (at 4200-done) by emacsbugs.donarmstrong.com; 26 Aug 2009 01:35:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7Q1Z9Dp018704 for <4200-done@emacsbugs.donarmstrong.com>; Tue, 25 Aug 2009 18:35:10 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mg7Po-00028w-Hx; Tue, 25 Aug 2009 21:35:08 -0400 From: Glenn Morris To: 4200-done@debbugs.gnu.org Subject: Re: bug#4200: 23.1.50; gdb mode screwup when setting breakpoint References: <87tz026sok.fsf@sphinx.net.ru> X-Spook: SP4 ANDVT IDEA LLNL tempest bemd Fedayeen passwd X-Ran: 9Wo(EOw,za9!CD/(dy9#J1V.K_>QgeJ@Mb'"_&G?X!ykH|dK=qhgEoX]o8A!5H%O X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 25 Aug 2009 21:35:08 -0400 In-Reply-To: (Miles Bader's message of "Fri, 21 Aug 2009 08:19:48 +0900") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Discussion moved to emacs-devel. Stale gdb-ui.elc file was to blame: http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01050.html From unknown Sun Aug 10 16:49:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Sep 2009 14:24:12 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator