This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
NPTL on ppc (was: pthreads debug with gdbserver)
- From: Linh Dang <linhd at nortelnetworks dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 06 Dec 2004 13:22:26 -0500
- Subject: NPTL on ppc (was: pthreads debug with gdbserver)
- Organization: Null
- References: <200411191233.22357.vladimir.vorobyov@iss.org.ua> <200411191641.15822.vladimir.vorobyov@iss.org.ua><20041120013220.GB27485@nevyn.them.org><200411201427.13557.vladimir.vorobyov@iss.org.ua><20041120164209.GA15174@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> wrote:
>
> Take a look at the source code to gdbserver. Andreas, now I
> remember why I enabled thread_db support on a per-target basis -
> there are other support routines that have to be written.
Hi Daniel and Andreas,
Does gdbserver works with NPTL on ppc32? I use 6.3.50 and I keep
getting on the target side:
gdbserver 47.129.74.85:8888 p_greetings2
Process p_greetings2 created; pid = 288
Listening on port 8888
Remote debugging from host 47.129.74.85
error = 0
error = 0
Cannot find new threads: generic error
error = 0
Cannot find new threads: generic error
error = 0
Cannot find new threads: generic error
and on the host side:
target extended-remote 47.135.196.213:8888
Remote debugging using 47.135.196.213:8888
0x30011e28 in ?? ()
(gdb) b main
Breakpoint 1 at 0x1000080c
(gdb) info b
Num Type Disp Enb Address What
1 breakpoint keep y 0x1000080c <main+28>
(gdb) c
Continuing.
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Breakpoint 1, 0x1000080c in main ()
(gdb) info shared
From To Syms Read Shared Object Library
0x0ffd17e4 0x0ffdbd4c Yes /linux-tools-2.6/powerpc-linux/lib/libpthread.so.0
0x0fe9b060 0x0ff850a4 Yes /linux-tools-2.6/powerpc-linux/lib/libc.so.6
0x30001ee0 0x300155d0 Yes /linux-tools-2.6/powerpc-linux/lib/ld.so.1
(gdb)
Thanx
--
Linh Dang