[Dwarf-Discuss] file pc from source filename+source linenumber

Mathieu Lacage mathieu.lacage at gmail.com
Sat Jul 31 05:57:28 PDT 2010


hi,

Another thing I tried to do without much success so far, is a back
mapping from source filename+linenumber to pc address.

i.e., I can see how .debug_line can be used to get the source
filename+linenumber from pc address but the converse operation
somewhat escapes me.

I tried looking into the .debug_info information but I can see only a
start line number for functions. Maybe there is someone around who can
point me in the right direction ?


Mathieu
-- 
Mathieu Lacage <mathieu.lacage at gmail.com>



More information about the Dwarf-Discuss mailing list