Debugging a library created with libtool/ar
Andrew Cagney
ac131313@cygnus.com
Fri May 24 13:50:00 GMT 2002
> I hope this the correct mailing list.
>
> I have created a library of several source files and now I have recognized
> that it is not possible to debug anylonger the files.
>
> Is this a general correct behaviour? Or did I make configuration mistake?
Did, as part of the process of creating the library, all the files get
stripped of their debug info?
For instance, using a GDB build:
$ objdump -h gdb/libgdb.a
outputs a long list of object files, each file containing sections like:
.stab*
or
.debug*
If they are missing the files were likely stripped.
(just guessing mind)
Andrew
More information about the Gdb
mailing list