Greetings,
I'm trying to remote debug our application - from Xcode 2.3 on Tiger to OS 10.3.9 (that has Xcode 1.5 installed). The list archives contain many suggestions but unfortunately none of them have solved the problem.
When I try to debug, I immediately get a "No symbol table is loaded. Use "file" command" error in the console. Then when I try to put in a breakpoint the app just goes away.
Things I've tried and verified:
My ssh connection is correct.
I'm building a PPC target and there is no stripping going on.
STABS Debug symbols are being generated.
Following a suggestion in the list archives, in /usr/bin/gdb on the 10.3 machine I replaced:
exec "$gdb" "$@"
with
exec perl -e 'while($len = sysread(STDIN, $buf, 1024)){$buf =~ s /-break-insert -l -1/-break-insert/g; syswrite(STDOUT, $buf, $len);}' | "$gdb" "$@"
Before that the breakpoints weren't even being recognized, now I know they are because they cause the app to shut down. I suppose that's progress. :) But the lack of symbol table at first is what gets me. Do I need a different version of GDB?
Any advice would be appreciated.