This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging a library created with libtool/ar


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]