• 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: debug universal binary on 10.3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?

TR


 _______________________________________________
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: debug universal binary on 10.3?
      • From: "Alexander v. Below" <email@hidden>
References: 
 >debug universal binary on 10.3? (From: Todd Ransom <email@hidden>)
 >Re: debug universal binary on 10.3? (From: Chris Espinosa <email@hidden>)
 >Re: debug universal binary on 10.3? (From: Todd Ransom <email@hidden>)
 >Re: debug universal binary on 10.3? (From: Todd Ransom <email@hidden>)

  • Prev by Date: Re: creating a load map to associate addresses with symbols
  • Next by Date: Re: creating a load map to associate addresses with symbols
  • Previous by thread: Re: debug universal binary on 10.3?
  • Next by thread: Re: debug universal binary on 10.3?
  • Index(es):
    • Date
    • Thread