This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Help needed for gdbserver and pthread on Redhat 9
- From: Ming Sun <mings at intellambda dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 09 Oct 2003 09:01:05 -0700
- Subject: Help needed for gdbserver and pthread on Redhat 9
If I have a break point in the entry function of a thread, when
pthread_create() is
invoked my program receives a SIGTRAP signal and quit. The gdbserver
outputs
"Cannot find new threads: generic error" before it breaks at main() also.
Is this normal or there is some configuration I need to do?
Thanks for the help,
Ming
=============================================================
[root@pc28 x86]# gdbserver foo:5432 grog
Process prog created; pid = 22123
Remote debugging from host 192.168.0.57
Cannot find new threads: generic error
Cannot find new threads: generic error
Cannot find new threads: generic error
....
more output from prog
....
Child terminated with signal = 5
Child terminated with signal = 0x0
GDBserver exiting
[root@pc28 x86]#