> perhaps we can peek into ksplice on how to deal with such thing? i
> haven't used ksplice by myself, but I guess it will use  DWARF info
> somehow, right?

Sure, there's also elfutils (readelf is a part of that) which contains
code that parses dwarf line info.. but line info is fairly
non-trivial, its based on a state machine and might not be as simple
as seek and read.. DWARF specs are very well written though so that
should help.

-Joel

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to