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

Mathieu Lacage mathieu.lacage@gmail.com
Sat Jul 31 12:57:28 GMT 2010


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 Lacage <mathieu.lacage at gmail.com>

More information about the Dwarf-discuss mailing list