views:

82

answers:

0

I've written an iPhone program which includes a library. The library uses some C++. The program runs fine in the simulator as long as debugger is turned off.

GDB immediately complains with the following

/SourceCache/gdb/gdb-962/src/gdb/dwarf2read.c:7593: internal-error: could not find partial DIE in cache

A problem internal to GDB has been detected,
further debugging may prove unreliable.

The Debugger has exited with status 1.The Debugger has exited with status 1.

This is on Xcode 3.1.2.

The same problem does not occur with a simple program. Perhaps I'm linking wrong?

I can't live debuggerless?

More info: The compiler is GCC-4.0 The library is compiled with the same compiler as the main program. I was using XCode so I did not explicitly set the debugger flags. Debugger is GNU gdb 6.3.50-20050815 (Apple version gdb-962)