• 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: debugging symbols for universial binary library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging symbols for universial binary library


  • Subject: Re: debugging symbols for universial binary library
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 2 Apr 2009 08:55:00 -0700


On Apr 2, 2009, at 8:12 AM, Ethan Tira-Thompson wrote:

Alternatively, maybe I can change the debugging symbol format so it's embedded in the .dylib and merged alongside with the code into the universal binary...?

To answer my own question, I switched to using -gstabs+, which stores the symbols for each architecture inside the binary, so they can be lipo'd together and keep their symbols.

stabs are deprecated in Xcode and Mac OS X. Dwarf (not Dwarf with dSYM) is embedded in the binary just like stabs.


The dSYM file, which has the universal symbols for your built binary, is usually laid down adjacent to the binary when you build your Debug configuration. Just find libpng.dSYM and send it to your users, they can put it anywhere on their hard disk and gdb will find it using Spotlight.

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: debugging symbols for universial binary library
      • From: Jonas Maebe <email@hidden>
References: 
 >debugging symbols for universial binary library (From: Ethan Tira-Thompson <email@hidden>)
 >Re: debugging symbols for universial binary library (From: Ethan Tira-Thompson <email@hidden>)

  • Prev by Date: Re: XCode Subversion 1.5
  • Next by Date: Re: debugging symbols for universial binary library
  • Previous by thread: Re: debugging symbols for universial binary library
  • Next by thread: Re: debugging symbols for universial binary library
  • Index(es):
    • Date
    • Thread