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

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

 



> Nice observation :) So, perhaps might question, what the best way to
> avoid such problem..... always use latest gdb? I thought things like
> this is formally standardized....

I don't know why ld resets the addresses (or rather doesn't make the
addresses continugous in .debug_line) when linking multiple shared
objects (with relocatable code).

Anyway I'm going through the DWARF 3.0 spec Section 6.2 "Line number
information" to see if I can find anything, will update here. I'm also
writing a program to fix the ELF object dwarf information so that I
can use gdb 6.8 instead (gdb 7 has other problems 6.8 doesn't ;-))

-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