gdb doesn't show all threads, but gdbserver does
Paul Pluzhnikov
ppluzhnikov@google.com
Tue Jan 20 20:36:00 GMT 2009
On Tue, Jan 20, 2009 at 12:17 PM, N. van Bolhuis <nvbolhuis@aimvalley.nl> wrote:
> In fact I did just that. I didn't mention it since it's there
> (libthread_db.so.1 is loaded into gdb) so this is not the issue.
Hmm, I wonder if the "stripped libpthread.so.0" struck again.
Could you please do 'ldd /mnt/norbert/mainctrl.exe' on target,
note which libpthread.so.0 it is using, and then
nm /path/to/libpthread.so.0 | egrep '_version|pthread_threads_events'
If this shows 'no symbols', you have stripped libpthread.so.0 on
target (but not on host). Don't do that. Do "strip --strip-debug"
instead.
Cheers,
--
Paul Pluzhnikov
More information about the Gdb
mailing list