This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Regarding Map Files
- From: "Sachin O. Agrawal" <sachin_agrawal at persistent dot co dot in>
- To: <binutils at sources dot redhat dot com>
- Cc: "'Ian Lance Taylor'" <ian at airs dot com>, "'Devendra Badhani \(E-mail\)'" <deven at pspl dot co dot in>, "'Shridhar Bhat \(E-mail\)'" <penguin at pspl dot co dot in>, "Masaoud Taher Moonim \(E-mail\)" <masaoud at pspl dot co dot in>
- Date: Fri, 21 Dec 2001 14:44:05 +0530
- Subject: RE: Regarding Map Files
- Reply-to: <sachin_agrawal at persistent dot co dot in>
> If that is unacceptable for some reason, then you can indeed use the
> map file to map addresses to functions. Personally, I think the
> format is pretty obvious, but then I'm obviously biased. Each output
> section is listed starting in column 0, with name, VMA, and size.
> Each input section is listed starting in column 1 with section name,
> VMA, size, and input file name. Each global symbol is listed with
> nothing in the first column, then the VMA and the symbol name.
>
> Just pick some address, and find it in the map file. You'll see the
> file and section it came from, and the global symbols from that file
> with their address.
I am able to generate a map file and interpret the same.
Is there already a tool which can parse these files and
provide me the information I need?
> If you still don't get it, ask a specific question rather than a
> general one.
Thanks!!! Ian. At least now I am sure that this is possible.
Please go through a separate thread regarding stack back trace.
--
Thanks
Sachin
--