thread-debuging with gdbserver on ARM/NPTL
Daniel Jacobowitz
drow@false.org
Tue Oct 24 18:34:00 GMT 2006
On Tue, Oct 24, 2006 at 08:29:33PM +0200, Benedikt Spranger wrote:
> Attaching gdb to gdbserver, set the above breakpoints and issue "cont",
> then the program stops at breakpoint BP1. BP2 is never reached, although
> the thread is visible via "ps" on the target system. The thread is stuck
> in sys_futex and not as expected in the ptrace breakpoint trap. Also gdb
> does not show that the thread was created.
>
> This can be reproduced with glibc 2.3.6 -> 2.5, kernel 2.6.14 ->
> 2.6.19-rc2, gcc 3.4 -> 4.1.1 and binutils up to cvs-latest.
Well, it works just fine for me, so you may want to investigate your
setup. Have you set solib-absolute-prefix, the most frequent problem?
Check if "info shared" and "info threads" show sensible output.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list