• 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: Information request on DWARF dsym reader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Information request on DWARF dsym reader


  • Subject: Re: Information request on DWARF dsym reader
  • From: Rick Altherr <email@hidden>
  • Date: Fri, 27 Feb 2009 22:02:29 -0800

If you just need to map address to symbols, use atos or gdb.  There are _many_ details that make doing this yourself quite difficult.

Rick


On Feb 27, 2009, at 9:55 PM, Arnab Ganguly wrote:

Thanks for all details and help.I have read the DWARF files in windows,only the input i am going to get is the addresses and on basis of that I need to resolve the symbols.Thats what my requirement is.
-Arnab

On Sat, Feb 28, 2009 at 8:02 AM, Nathan Ramella <email@hidden> wrote:
As stated by Jonas, gdb can read dSYM files programatically to use the contents for debugging. There's also libdwarf+dwarfdump -- dwarfdump ships with OSX -- libdwarf provides a non BFD library for parsing dwarf data. The BFD stuff is pretty embedded in gdb so getting library-style access to it would probably require more monkeywrenching than libdwarf -- although vanilla libdwarf might require it's own monkeywrenching to get it to play friendly with macho.

Here's a few URLs that may assist you:

For general dwarf info: http://reality.sgiweb.org/davea/dwarf.html

For writing producer/consumer applications against libdwarf Common Debug Architecture User's Guide
is pretty good although ELF centric. The producer API documentation is more comprehensive than the libdwarf stock docs and was very useful for me.

For source check out: dwarf2read.c in gdb/bfd/

Also check out 'dsymutil' which can extract symbol tables and produce dSYM files




On Feb 27, 2009, at 7:06 AM, Arnab Ganguly wrote:

Hi All,
Where can I find sample program which read dwarf with dsym format files ?Sorry if it is not  the correct group.
Thanks in advance.
-A

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
This email sent to email@hidden


--
Rick Altherr
Architecture and Performance Group
email@hidden


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Information request on DWARF dsym reader (From: Arnab Ganguly <email@hidden>)
 >Re: Information request on DWARF dsym reader (From: Arnab Ganguly <email@hidden>)
 >Re: Information request on DWARF dsym reader (From: Nathan Ramella <email@hidden>)
 >Re: Information request on DWARF dsym reader (From: Arnab Ganguly <email@hidden>)

  • Prev by Date: Re: Information request on DWARF dsym reader
  • Next by Date: Error message on import to svn repository
  • Previous by thread: Re: Information request on DWARF dsym reader
  • Next by thread: Xcode Leaks Instrument: Ignore *these* Leaks?
  • Index(es):
    • Date
    • Thread