• 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
Debugging libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging libraries


  • Subject: Debugging libraries
  • From: David Arve <email@hidden>
  • Date: Wed, 21 Oct 2009 21:12:42 +0200

Hi,

How do I build a version of a library, say libdispatch, that has all the symbols and debugging information and source code so I could step through it with gdb?

I tried building libdispatch and dittoing it into /. It only has one target RELEASE but it's Build Variants specify normal, debug and profile. So I set the DYLD_IMAGE_SUFFIX to _debug. This gives me the function symbols, great. But how can I get gdb to match up the source code too?

Thanks,

David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
  • Next by Date: kevents, waitpid() with WNOHANG race
  • Previous by thread: snow leapord core over nfs?
  • Next by thread: kevents, waitpid() with WNOHANG race
  • Index(es):
    • Date
    • Thread