From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4200: marked as done (23.1.50; gdb mode screwup when setting breakpoint) Date: Wed, 26 Aug 2009 01:40:05 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1251250805-19506-0" X-Trace: ger.gmane.org 1251251239 22357 80.91.229.12 (26 Aug 2009 01:47:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 01:47:19 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 03: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 1Mg7bT-0001T2-DL for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 03:47:11 +0200 Original-Received: from localhost ([127.0.0.1]:39593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg7bS-0001Lb-Ih for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 21:47:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mg7bN-0001LW-96 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 21:47:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mg7bI-0001LI-U3 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 21:47:05 -0400 Original-Received: from [199.232.76.173] (port=58190 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg7bI-0001LF-GF for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 21:47:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56497) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mg7bC-0002S1-GR; Tue, 25 Aug 2009 21:46:55 -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 n7Q1kq6N020776; Tue, 25 Aug 2009 18:46:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7Q1e5Ft019537; Tue, 25 Aug 2009 18:40:05 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4200 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:30571 Archived-At: This is a multi-part message in MIME format... ------------=_1251250805-19506-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 25 Aug 2009 21:35:08 -0400 with message-id and subject line Re: bug#4200: 23.1.50; gdb mode screwup when setting break= point has caused the Emacs bug report #4200, regarding 23.1.50; gdb mode screwup when setting breakpoint to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4200: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4200 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1251250805-19506-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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] ------------=_1251250805-19506-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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@emacsbugs.donarmstrong.com 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 ------------=_1251250805-19506-0--