• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Remote Debugging XC 2.3 -> OS 10.3.9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remote Debugging XC 2.3 -> OS 10.3.9


  • Subject: Re: Remote Debugging XC 2.3 -> OS 10.3.9
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 29 Jun 2006 08:48:29 -0700

On Jun 29, 2006, at 6:42 AM, Jeff Nordquist wrote:

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.

What is the Debug Format of the built project?  Xcode 2.3 supports the Dwarf format, but the gdb on the 10.3 machine does not.  Make sure that if you are debugging on 10.3.x that your Debug Format is Stabs.

Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: Remote Debugging XC 2.3 -> OS 10.3.9
      • From: Jeff Nordquist <email@hidden>
References: 
 >Remote Debugging XC 2.3 -> OS 10.3.9 (From: Jeff Nordquist <email@hidden>)

  • Prev by Date: Re: Remote Debugging XC 2.3 -> OS 10.3.9
  • Next by Date: Re: Remote Debugging XC 2.3 -> OS 10.3.9
  • Previous by thread: Re: Remote Debugging XC 2.3 -> OS 10.3.9
  • Next by thread: Re: Remote Debugging XC 2.3 -> OS 10.3.9
  • Index(es):
    • Date
    • Thread