remotely debugging muti-threaded applicaton did not work with gdb 6.3.50.20050725-cvs
Daniel Jacobowitz
drow@false.org
Thu May 31 17:23:00 GMT 2007
On Tue, May 29, 2007 at 10:13:57AM -0600, Michael Zhang wrote:
> Debugging problem:
>
> The gdb on the host can talk to the gdbserver on the target and I did
> not forget to set "solib-absolute-prefix". If I set breakpoints before
> the multiple threads are spawned, I could step through the code when
> the breakpoint was hit. However, once the application finished
> creating threads and if I stop the program to step through, it won't
> step and alway stuck in libc.so.6. The worst is all the threads are
> getting killed. And "info threads" never returns anything just
> reporting that the gdbserver could not get thread list.
If you do not have any luck with David's suggestions, please send a
more specific problem report afterwards. I need to see at least an
exact transcript of your session to guess what is wrong.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list