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#5077: marked as done (23.1.50; gdb-mi prompt weirdness) Date: Tue, 15 Dec 2009 06:25:08 +0000 Message-ID: References: <19239.10745.474675.267599@totara.tehura.co.nz> <87fx7w1vxe.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1260858308-27845-0" X-Trace: ger.gmane.org 1260858572 7409 80.91.229.12 (15 Dec 2009 06:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2009 06:29:32 +0000 (UTC) To: nickrob@snap.net.nz (Nick Roberts) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 15 07:29:25 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 1NKQuQ-0007nY-Qw for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Dec 2009 07:29:24 +0100 Original-Received: from localhost ([127.0.0.1]:60780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKQuQ-0002Od-Ed for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Dec 2009 01:29:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKQsk-0001Xx-NO for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2009 01:27:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKQsf-0001Uu-80 for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2009 01:27:38 -0500 Original-Received: from [199.232.76.173] (port=50412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKQsf-0001Uh-2w for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2009 01:27:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49399) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NKQse-0000am-3r for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2009 01:27:32 -0500 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 nBF6RT0P028146; Mon, 14 Dec 2009 22:27:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nBF6P8Vx027873; Mon, 14 Dec 2009 22:25:08 -0800 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 5077 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:33602 Archived-At: This is a multi-part message in MIME format... ------------=_1260858308-27845-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 15 Dec 2009 19:17:29 +1300 with message-id <19239.10745.474675.267599@totara.tehura.co.nz> and subject line Re: bug#5077: 23.1.50; gdb-mi prompt weirdness has caused the Emacs bug report #5077, regarding 23.1.50; gdb-mi prompt weirdness 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 5077: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D5077 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1260858308-27845-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2009 04:25: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.2 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 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 nAU4PDBn023741 for ; Sun, 29 Nov 2009 20:25:14 -0800 Received: from mx10.gnu.org ([199.232.76.166]:47323) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NExp2-0005vQ-Fx for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:25:12 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NExoy-0004cX-Fz for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:25:12 -0500 Received: from md5i.com ([75.151.244.229]:57291 helo=maru.md5i.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NExoy-0004cN-23 for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:25:08 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.69) (envelope-from ) id 1NExor-0005x1-Kq for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:25:01 -0500 From: Michael Welsh Duggan To: emacs-pretest-bug@gnu.org Subject: 23.1.50; gdb-mi prompt weirdness Date: Sun, 29 Nov 2009 23:25:01 -0500 Message-ID: <87fx7w1vxe.fsf@maru.md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --=-=-= Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Compile the following program using: g++ -g -o foo foo.cpp --=-=-= Content-Type: text/x-c++src Content-Disposition: inline; filename=foo.cpp class A { protected: int c(void) const { return 1;} int d(void) const { return 2;} }; class B : private A { public: using A::c; }; int main() { B b; int x; x = b.c(); // x = b.d(); // A &a = b; // x = a.d(); return 0; } --=-=-= In an emacs, start gdb using something similar to: M-x gdb RET gdb -i=mi bar RET Then use the following gdb session: start b run In my output, I end up in a state without a (gdb) prompt. Here is an example of my output: --=-=-= Content-Disposition: inline Current directory is /usr/local/home/md5i/ GNU gdb (GDB) 7.0-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/home/md5i/bar...done. (gdb) start Temporary breakpoint 1 at 0x80483a5: file bar.c, line 2. Starting program: /usr/local/home/md5i/bar (gdb) b Breakpoint 2 at 0x80483a5: file bar.c, line 2. (gdb) run Starting program: /usr/local/home/md5i/bar --=-=-= At this point I can type in gdb commands, but there is no visible prompt. I have been able to trigger this occurance in a number of debugging situations, and it can often be confusing, as no prompt to me generally means that the program is still running. In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-27 on maru Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--without-toolkit-scroll-bars'' 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: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Summary Minor modes in effect: display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-n C-n C-n C-p < # / p a r t > M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 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-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-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-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-n C-n C-n C-n C-n C-n C-n C-n H e r e SPC i s SPC t h e SPC g d b - d e b u g - l o g SPC f o r SPC t h i s SPC s e s s i o n : < # p a r t C-y < # / p a r t > M-v M-v M-v M-v M-v M-v M-v M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-a C-n C-SPC C-n M-w C-v C-v M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-y M-v C-v C-v C-v C-v M-v M-v M-v C-v C-v C-v C-v C-v C-v C-v C-v M-v M-v 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-n C-n C-n C-n C-n C-n C-n C-SPC C-n C-n C-n C-n C-n C-n C-n C-n C-w C-v C-v C-v M-v M-v M-v M-v M-v M-v M-v M-v < C-n C-n C-n C-n C-n C-n C-n C-n C-n C-_ C-c C-c M-x r e p o r t - e m Recent messages: Reading active file from localimap via nnimap... nnimap: Checking mailboxes...done Reading active file from archive via nnfolder...done Checking new news...done Undo! Sending... Sending via mail... nnimap: Updating info for nnimap+localimap:archive.mail...done Sending...done Deleting article /home/md5i/News/drafts/drafts/3 in drafts... Load-path shadows: /usr/local/share/emacs/site-lisp/lilypond-words hides /usr/share/emacs/site-lisp/lilypond-words /usr/local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent /usr/local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode /home/md5i/src/elisp/psvn hides /usr/share/emacs/site-lisp/psvn /usr/local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song /usr/local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat /usr/local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock /usr/local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init Features: (shadow ispell emacsbug newcomment speedbar sb-image ezimage dframe gdb-mi warnings bindat json gud dabbrev jka-compr find-func grep lilypond-mode scheme etags vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs multi-isearch mule-util vc-dispatcher vc-svn gnus-cite ansi-color flow-fill gnus-async gnus-bcklg parse-time sort byte-opt bytecomp byte-compile gnus-ml disp-table gnus-topic nnfolder utf-7 utf7 rfc2104 nnimap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime dig gnus-cache edmacro kmacro gnus-demon nntp nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems server uptimes pp uniquify descr-text help-mode view tramp-imap epa epg epg-config imap-hash imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source format-spec tramp-compat trampver time rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util sgml-mode psvn log-edit pcvs-util add-log diff-mode easy-mmode inf-caml camldebug thingatpt derived shell caml-types caml-emacs caml-font caml advice help-fns advice-preload compile imenu message sendmail ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils generic-x debian-el debian-el-loaddefs dired-x dired-aux dired bbdb-autoloads bbdb timezone ange-ftp regexp-opt comint ring cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=-- ------------=_1260858308-27845-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5077-done) by emacsbugs.donarmstrong.com; 15 Dec 2009 06:17:32 +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.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from viper.snap.net.nz (mail10.snap.net.nz [202.37.101.41]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBF6HVV3027209 for <5077-done@emacsbugs.donarmstrong.com>; Mon, 14 Dec 2009 22:17:32 -0800 Received: from totara (228.31.255.123.dynamic.snap.net.nz [123.255.31.228]) by viper.snap.net.nz (Postfix) with ESMTP id 839543DA1D6; Tue, 15 Dec 2009 19:17:30 +1300 (NZDT) Received: by totara (Postfix, from userid 1000) id 8F43AC167; Tue, 15 Dec 2009 19:17:29 +1300 (NZDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19239.10745.474675.267599@totara.tehura.co.nz> Date: Tue, 15 Dec 2009 19:17:29 +1300 To: Michael Welsh Duggan Cc: 5077-done@emacsbugs.donarmstrong.com Subject: Re: bug#5077: 23.1.50; gdb-mi prompt weirdness In-Reply-To: <87fx7ckhpo.fsf@maru.md5i.com> References: <87fx7w1vxe.fsf@maru.md5i.com> <19238.671.468663.187962@totara.tehura.co.nz> <87fx7ckhpo.fsf@maru.md5i.com> X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) > I re-upped from CVS, and am no longer experiencing the problem... At > least not with that recipe. I think you can close it for now. I've done this but note that you could do it too just by adding "-done" to the e-mail address, 5077-done@emacsbugs.donarmstrong.com in this case. > I will > open a new ticket if I manage to make this happen again in another way. Please do. -- Nick http://users.snap.net.nz/~nickrob ------------=_1260858308-27845-0--