gdb internal errors
gdb internal errors
- Subject: gdb internal errors
- From: glenn andreas <email@hidden>
- Date: Wed, 28 Nov 2007 17:45:31 -0600
Somehow gdb got borked - I've quit Xcode, and rebuilt the project,
etc... but anytime I try to debug a specific target of a project, I
get this:
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:11:19
UTC 2007)
Copyright 2004 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 "powerpc-apple-darwin".tty /dev/ttys002
Program loaded.
sharedlibrary apply-load-rules all
warning: internal error: no C/C++ fundamental type 1
run
[Switching to process 4272 local thread 0x2f1b]
Running…
gdb stack crawl at point of internal error:
[ 0 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin (align_down
+0x0) [0x11d4fc]
[ 1 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin (wrap_here
+0x0) [0x11d848]
[ 2 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(ppc_parse_instructions+0x100) [0x15927c]
[ 3 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(ppc_find_function_boundaries+0x15c) [0x15a17c]
[ 4 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(ppc_skip_prologue+0x40) [0x156f2c]
[ 5 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin (decode_objc
+0x21c) [0x5a05c]
[ 6 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(decode_line_1+0x52c) [0x5b8c4]
[ 7 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(parse_breakpoint_sals+0x308) [0x26d3c]
[ 8 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(catch_exception+0x4c) [0x764c0]
[ 9 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(break_command_2+0xa8) [0x230f0]
[ 10 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(resolve_pending_breakpoint+0x8c) [0x23a00]
[ 11 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(catch_errors+0x60) [0x76700]
[ 12 ] /Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin
(re_enable_breakpoints_in_shlibs+0xdc) [0x1c16c]
/SourceCache/gdb/gdb-768/src/gdb/macosx/ppc-macosx-frameinfo.c:229:
internal-error: assertion failure in function
"ppc_parse_instructions": (end == INVALID_ADDRESS) || (end % 4) == 0
A problem internal to GDB has been detected,
further debugging may prove unreliable.
In this case, I set a breakpoint early on
(applicationWillFinishLaunching, so something safe and fairly early in
the launch process long before I get to do any work and and muck
things up)
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next
generation of fractal art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden