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

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

 



On Thu, Jan 28, 2010 at 1:38 AM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote:
> 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 ;-))
>

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?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
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