unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Johan Walles" <johan.walles@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: Emacs 23.0.0.1 fails parsing gdb output
Date: Wed, 11 Jul 2007 17:39:10 +0200	[thread overview]
Message-ID: <9b0752e70707110839h20b88a35m29df8a6c0d083a78@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

Using Emacs 23.0.0.1 and GNU gdb 6.6-debian I have problems running gud.

GDB produces the attached output.

Emacs fails to parse all the annotations and says things like:
"
error in process filter: gdb-display-source-buffer: Wrong type
argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
"

It also fails to open the source code frame.

As a workaround, If I manually open a new frame, I can switch to the
source code buffer (which has been successfully loaded in the
background).  If I then do "f" in the GDB buffer, the source code
frame gets the current execution position highlighted and I'm back to
where I would have been with Emacs 21.

Please tell me if you need any more information to be able to reproduce this.

  Regards //Johan

[-- Attachment #2: gdb-annotated-output.log --]
[-- Type: text/x-log, Size: 1454 bytes --]


GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Breakpoint 1 at 0x804ac55: file src/ext/launcher/jrockit.c, line 377.

\x1a\x1astarting
[Thread debugging using libthread_db enabled]
[New Thread -1210341696 (LWP 3111)]
[New Thread -1214510192 (LWP 3114)]
[Switching to Thread -1214510192 (LWP 3114)]

\x1a\x1abreakpoint 1

Breakpoint 1, 
\x1a\x1aframe-begin 0 0x804ac55
create_javavm (opts=0xbf94ddf0) at src/ext/launcher/jrockit.c:377

\x1a\x1asource /localhome/johan/clients/johan/main/jvm/src/ext/launcher/jrockit.c:377:8484:beg:0x804ac55

\x1a\x1astopped
Loading GDB sequences...
*** Hope you've got /home/appeal/bin or //depot/jrockit/cce/gdbutils in your path
*** I use a few helper scripts nowadays
Generating isNativeIp and printmodule
For help type: 'help user-defined'
Breakpoint 2 at 0xb7a843b9: file src/jvm/runtime/debug/debug_posix.c, line 170.
Breakpoint 3 at 0xb7a84388: file src/jvm/runtime/debug/debug_posix.c, line 151.

\x1a\x1apre-prompt
(gdb) 
\x1a\x1aprompt
quit

\x1a\x1apost-prompt

\x1a\x1apre-query
The program is running.  Exit anyway? (y or n) 
\x1a\x1aquery

\x1a\x1apost-query

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

             reply	other threads:[~2007-07-11 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 15:39 Johan Walles [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-07-11 23:34 Emacs 23.0.0.1 fails parsing gdb output Nick Roberts
2007-07-12  7:19 ` Johan Walles

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=9b0752e70707110839h20b88a35m29df8a6c0d083a78@mail.gmail.com \
    --to=johan.walles@gmail.com \
    --cc=bug-gnu-emacs@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).