Re: Information request on DWARF dsym reader
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:
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
|
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