Re: gdb doesn't load line number information from object (kgdb target)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux