unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: gud breakage: ^done,changelist=[]
Date: Tue, 19 Oct 2004 00:17:00 +1300	[thread overview]
Message-ID: <16755.42540.548120.883521@farnswood.snap.net.nz> (raw)
In-Reply-To: <87zn2ktlim.fsf@peder.flower>


 > 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

  reply	other threads:[~2004-10-18 11:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18  9:37 gud breakage: ^done,changelist=[] Jan Nieuwenhuizen
2004-10-18 11:17 ` Nick Roberts [this message]
2004-10-18 12:17   ` Jan Nieuwenhuizen
2004-10-18 12:58     ` Kim F. Storm
2004-10-18 21:22       ` Jan Nieuwenhuizen
2004-10-19  2:20         ` Nick Roberts
2004-10-27  8:43       ` Nick Roberts
2004-10-27 12:07         ` Kim F. Storm
2004-10-29 19:48           ` Nick Roberts
2004-10-29 20:34             ` Jan Nieuwenhuizen
2004-10-29 21:45             ` Stefan
2004-10-28  7:59         ` Jan Nieuwenhuizen
2004-10-19  6:13 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16755.42540.548120.883521@farnswood.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).