Results 1 to 1 of 1
Hi, I can't get gdbserver to show all the threads running in my app, it just shows the main thread.
My gdb says "using host libthread_db library ..." on startup
...
- 03-21-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 3
gdbserver problem w/ multithreaded app
Hi, I can't get gdbserver to show all the threads running in my app, it just shows the main thread.
My gdb says "using host libthread_db library ..." on startup
I set solib-absolute-prefix to a local dir with a copy of the target lib dir and its contents.
I issue a "(gdb) handle SIG32 nostop noprint pass" to avoid pausing when launching the threads
then I connect, hit continue and run.
" (gdb) info threads " just shows the main thread once I'm up and running
running the app on the host with gdb works fine. I can see all the threads.
running the app on the host through a gdbserver session also works fine.
my app is linked against the hosts pthreads library. Even after spending some hours scouring the net I've come up empty. Thanks for any help....


Reply With Quote