$ readelf -S <executable>
[...]
[29] .debug_aranges PROGBITS 0000000000000000 0001e5dd
00000000000025d0 0000000000000000 0 0 1
[30] .debug_info PROGBITS 0000000000000000 00020bad
00000000000fe146 0000000000000000 0 0 1
[31] .debug_abbrev PROGBITS 0000000000000000 0011ecf3
00000000000078ba 0000000000000000 0 0 1
[32] .debug_line PROGBITS 0000000000000000 001265ad
0000000000009e15 0000000000000000 0 0 1
[33] .debug_str PROGBITS 0000000000000000 001303c2
00000000000461b1 0000000000000001 MS 0 0 1
[34] .debug_ranges PROGBITS 0000000000000000 00176573
00000000000027d0 0000000000000000 0 0 1
[...]
C++ Debugging with gdb
Leave a reply