unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs 23.0.0.1 fails parsing gdb output
@ 2007-07-11 15:39 Johan Walles
  0 siblings, 0 replies; 3+ messages in thread
From: Johan Walles @ 2007-07-11 15:39 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Emacs 23.0.0.1 fails parsing gdb output
@ 2007-07-11 23:34 Nick Roberts
  2007-07-12  7:19 ` Johan Walles
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2007-07-11 23:34 UTC (permalink / raw)
  To: "Johan Walles", johan.walles; +Cc: bug-gnu-emacs


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

You don't say what platform you're using.  If you use M-x report-emacs-bug, it
will give this detail and others about your configuration (and send to the
appropriate mailing list - emacs-pretest-bug@gnu.org)

> GDB produces the attached output.

Does it fail with Emacs 22.1?

> 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.

Can you please evaluate

(setq gdb-enable-debug t)

do M-x gdb

and start your application to generate the errors

then post the value of gdb-debug-log to emacs-pretest-bug@gnu.org.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-12  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 15:39 Emacs 23.0.0.1 fails parsing gdb output Johan Walles
  -- strict thread matches above, loose matches on Subject: below --
2007-07-11 23:34 Nick Roberts
2007-07-12  7:19 ` Johan Walles

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).