This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: thread-debuging with gdbserver on ARM/NPTL


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


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