This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: nptl_version symbol


On Fri, Oct 21, 2005 at 10:13:10AM +0530, Amit S. Kale wrote:
> Hi All,
> 
> gdbserver uses the symbol nptl_version symbol for confirming the consistency 
> of libthread_db from gdbserver and libpthread from an application being used. 
> We are using a setup where libpthread is stripped of all debug information by 
> using "objcopy -g".  nptl_version symbol is not exported by glibc, so it 
> doesn't appear in libpthread. This causes debugging to fail.

This has come up plenty of times before.  First of all, gdbserver
doesn't use the symbols on the target FS, so just don't strip the host
copy.  Secondly, you can remove debug information; just leave the ld.so
and libpthread.so static symbol tables.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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