Proposed team
objdump
always gives me the same result, at least on Ubuntu / Linaro 4.5.2:
libinspected.a: file format elf64-x86-64 libinspected.so: file format elf64-x86-64
regardless of whether the archived / shared library was built with or without the -g option
Which really helped me determine if -g readelf tool was used:
readelf --debug-dump=decodedline libinspected.so
or
readelf --debug-dump=line libinspected.so
This will display a set of lines consisting of the original file name, line number and address, if such debugging information is included in the library, otherwise it will not print anything.
You can pass any value that you find necessary for the --debug-dump parameter instead of decodedline .
Alex InTechno Oct 09 2018-12-12T00: 00Z
source share