Experiences building and using gdb 6.8 on Solaris
Frank Middleton
f.middleton@apogeect.com
Thu Apr 30 14:52:00 GMT 2009
On 04/29/09 20:34, Paul Pluzhnikov wrote:
> What does 'readelf -S libXau.so.6' say?
%readelf -S /usr/lib/libXau.so.6
There are 28 section headers, starting at offset 0x4c68:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .hash HASH 000000b4 0000b4 000134 04 A 3 0 4
[ 2] .SUNW_ldynsym LOOS+ffffff3 000001e8 0001e8 000120 10 A 4 18 4
[ 3] .dynsym DYNSYM 00000308 000308 000260 10 A 4 1 4
[ 4] .dynstr STRTAB 00000568 000568 000419 00 AS 0 0 1
[ 5] .SUNW_version VERNEED 00000984 000984 000020 01 A 4 1 4
[ 6] .SUNW_version VERDEF 000009a4 0009a4 000054 01 A 4 3 4
[ 7] .SUNW_versym VERSYM 000009f8 0009f8 00004c 02 A 3 0 4
[ 8] .SUNW_dynsymsort LOOS+ffffff1 00000a44 000a44 000044 04 A 2 0 4
[ 9] .SUNW_reloc RELA 00000a88 000a88 000060 0c A 3 0 4
[10] .rela.plt RELA 00000ae8 000ae8 000120 0c AI 3 17 4
[11] .text PROGBITS 00000c08 000c08 000cb4 00 AX 0 0 4
[12] .init PROGBITS 000018bc 0018bc 00000c 00 AX 0 0 4
[13] .fini PROGBITS 000018c8 0018c8 00000c 00 AX 0 0 4
[14] .rodata PROGBITS 000018d4 0018d4 000004 00 A 0 0 4
[15] .rodata1 PROGBITS 000018d8 0018d8 00003b 00 A 0 0 4
[16] .got PROGBITS 00012000 002000 000024 04 WA 0 0 8192
[17] .plt PROGBITS 00012024 002024 000154 0c WAX 0 0 4
[18] .dynamic DYNAMIC 00012178 002178 000168 08 WA 4 0 4
[19] .bss NOBITS 00020000 0022e0 000008 00 WA 0 0 4
[20] .symtab SYMTAB 00000000 0022e0 0005e0 10 21 57 4
[21] .strtab STRTAB 00000000 0028c0 00023f 00 S 0 0 1
[22] .debug_info PROGBITS 00000000 002aff 00199c 01 0 0 1
[23] .debug_line PROGBITS 00000000 00449b 000400 01 0 0 1
[24] .debug_abbrev PROGBITS 00000000 00489b 0000b0 01 0 0 1
[25] .comment PROGBITS 00000000 00494b 000119 00 0 0 1
[26] .shstrtab STRTAB 00000000 004a64 0000f6 00 S 0 0 1
[27] .SUNW_signature GNU_HASH 00000000 004b5a 00010e 00 p 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
More information about the Gdb
mailing list