> 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 [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to