Re: debug universal binary on 10.3?
Re: debug universal binary on 10.3?
- Subject: Re: debug universal binary on 10.3?
- From: Chris Friesen <email@hidden>
- Date: Thu, 25 May 2006 18:08:39 -0700
Xcode 2.3 is passing a new argument to the gdb machine interface for setting breakpoints that 10.3's gdb doesn't understand. We can change the data stream to gdb on your 10.3 machine by changing /usr/bin/gdb on the 10.3 machine. I haven't tested this on a 10.3 install.
1. On your 10.3 machine backup /usr/bin/gdb
sudo cp /usr/bin/gdb /usr/bin/gdb.orig
2. On your 10.3 machine edit /usr/bin/gdb with your favorite command line editor
sudo pico /usr/bin/gdb
Then change the last line from something that looks sort of like (Sorry I don't have a 10.3 machine handy):
exec "$gdb" "$@"
to exec /usr/bin/sed -l s/-break-insert\ -l\ -1/-break-insert/ | "$gdb" "$@"
I'll filed a Radar on this.
Cheers, ChrisF On May 25, 2006, at 1:19 PM, Todd Ransom wrote: I temporarily commented out the code that was causing the dyld errors. Apparently this was caused because I have references to Address Book and bindings constants available only on 10.4. So now I can get my app to launch on the remote machine and load into the debugger. But every time I try to set a breakpoint I get this:
mi_cmd_break_insert: Unknown option ``l'' Unable to set breakpoint . Make sure to build the file with debugging symbols.
any ideas what might be causing this? |
_______________________________________________
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