• 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: Michael Ryan Bannon <email@hidden>
  • Date: Thu, 29 Jun 2006 11:33:14 -0400
  • Organization: Humagade

I'm doing the same thing...I've got an Intel on which I build a unviersal binary which I remote debug on a PPC.  I doubt the Intel is the issue.
I assume you've gone throught the instructions on setting up remote debugging for XCode.  Maybe it's a setting problem?
----- Original Message -----
From: Jeff Nordquist
To: Michael Ryan Bannon
Cc: email@hidden
Sent: Thursday, June 29, 2006 11:25 AM
Subject: Re: Remote Debugging XC 2.3 -> OS 10.3.9

Thanks for the response. I tried retyping the script (I had cut-and-pasted it before, but I thought perhaps there was a stray line break or something...) but I still get the crash.

The Debugger console says "unable to read unknown load command 0x1b" as it crashes.

I'm trying to debug from an Intel iMac - perhaps that's the problem? I'm building the PPC target but I could see where perhaps it's getting confused. I'm building on a (much slower) PPC right now to see if that fixes it.

Does that console message ring any bells for anyone?

Jeff

On Jun 29, 2006, at 8:55 AM, Michael Ryan Bannon wrote:

I don't think the GDB version is a problem.  I have the same setup and my 10.3.9 machine is using v5.x while my 10.4 machine is using 6.x.  I think that's the point of the perl script.  The same thing happened with me and what I had to do was rewrite that line in the gdb file (I had fat fingered it or something).
 
Is there even a good way to get gdb v6.x running on 10.3.9?  If I'm not mistaken, it comes with XCode tools 2.x, but that won't install on os 10.3.9.
 
Sorry...I guess I wasnt' much help.
 
Ryan
----- Original Message -----
From: Jeff Nordquist
To: email@hidden
Sent: Thursday, June 29, 2006 9:42 AM
Subject: Remote Debugging XC 2.3 -> OS 10.3.9

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.

Thanks,
Jeff Nordquist




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
 _______________________________________________
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

 _______________________________________________
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>)
 >Re: Remote Debugging XC 2.3 -> OS 10.3.9 (From: Michael Ryan Bannon <email@hidden>)
 >Re: 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