Regarding Map Files

Sachin O. Agrawal sachin_agrawal@persistent.co.in
Fri Dec 21 01:19:00 GMT 2001


> 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
--



More information about the Binutils mailing list