From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: gud breakage: ^done,changelist=[] Date: Tue, 19 Oct 2004 00:17:00 +1300 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <16755.42540.548120.883521@farnswood.snap.net.nz> References: <87zn2ktlim.fsf@peder.flower> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098098605 9978 80.91.229.6 (18 Oct 2004 11:23:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2004 11:23:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 18 13:23:12 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CJVbc-0007HW-00 for ; Mon, 18 Oct 2004 13:23:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJViu-00081R-5a for ged-emacs-devel@m.gmane.org; Mon, 18 Oct 2004 07:30:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJVin-00081L-LE for emacs-devel@gnu.org; Mon, 18 Oct 2004 07:30:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJVin-000819-6c for emacs-devel@gnu.org; Mon, 18 Oct 2004 07:30:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJVin-000816-42 for emacs-devel@gnu.org; Mon, 18 Oct 2004 07:30:37 -0400 Original-Received: from [202.124.108.44] (helo=farnswood.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJVau-0003W6-0f; Mon, 18 Oct 2004 07:22:29 -0400 Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 78CB262F94; Mon, 18 Oct 2004 12:17:01 +0100 (BST) Original-To: Jan Nieuwenhuizen In-Reply-To: <87zn2ktlim.fsf@peder.flower> X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28556 > Anyone using gud from CVS? It has been broken for me for quite some > time now, but it used to break `only' after about 100 prompts or so; > usually enough to nail the bug. It can only help us if you report the bug when you first find it. > With current CVS (emacs -q), it breaks after less than 20 prompts when > debugging lilypond There haven't been any significant changes in this code for the last three months or so. Perhaps its breaking earlier because liypond has changed. > M-x gdb > gdb --annotate=2 lily/out/lilypond That's odd because gud has used "--annotate=3" for over a year. However, it shouldn't make any difference at the moment. ... > (gdb) b main > Breakpoint 1 at 0x81742a0: file main.cc, line 463. > (gdb) r > Starting program: /var/fred/cvs/savannah/lilypond/lilypond/lily/out/lilypond > [Thread debugging using libthread_db enabled] > [New Thread 16384 (LWP 1314)] > [Switching to Thread 16384 (LWP 1314)] C++ and multithreaded, that might be pushing it a bit. If you don't use any features of the new mode you can get the old behaviour using "gdb -fullname" (read the debugger section in the Emacs manual). > Breakpoint 1, main (argc=1, argv=0xbfffeb04) at main.cc:463 > (gdb) n > > 17 times RET gives > > (gdb) > ^done,changelist=[] > (gdb) > (gdb) list > ^done,changelist=[] ... It appears to have lost an annotation somewhere and can't recover. It is probably the mode but it could also be that GDB fails to emit the right annotation under this particular circumstance. Please set the variable gdb-enable-debug-log (which records the transactions between gdb and emacs) to t, trigger the bug and post the value of gdb-debug-log to emacs-pretest-bugs. Nick