RE: Stripped v Debug

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

 



> From: Jim Cromie [mailto:jim.cromie@xxxxxxxxx]
> I dont think theres "smarts" in there, so much as the kernel
> just doing what the ELF contents tell it.
> heres some sections from my local perl binary,
> which I built with -DDEBUGGING
> While not actually knowing, Id expect the usual dynamic linking
mechanics would also pull in the debugging symbols
> Section Headers:
>   [Nr] Name              Type            Addr     Off    Size   ES Flg
Lk Inf Al
>  [snipped]
>   [26] .comment          PROGBITS        00000000 265a74 0007e9 00
0   0  1
>   [27] .debug_aranges    PROGBITS        00000000 26625d 0004c0 00
0   0  1
>   [28] .debug_pubnames   PROGBITS        00000000 26671d 00a93f 00
0   0  1
>   [29] .debug_info       PROGBITS        00000000 27105c 159666 00
0   0  1
>   [30] .debug_abbrev     PROGBITS        00000000 3ca6c2 00a4ac 00
0   0  1
>   [31] .debug_line       PROGBITS        00000000 3d4b6e 031374 00
0   0  1
>   [32] .debug_str        PROGBITS        00000000 405ee2 014e54 01  MS
0   0  1
>   [33] .debug_loc        PROGBITS        00000000 41ad36 0d3aca 00
0   0  1
>   [34] .debug_ranges     PROGBITS        00000000 4ee800 0393a8 00
0   0  1

Jim

Looks like that could make some sense as there is no Address associated
with the debug just offset and size

Adrian

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