Help needed for gdbserver and pthread on Redhat 9
Ming Sun
mings@intellambda.com
Thu Oct 9 16:04:00 GMT 2003
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]#
More information about the Gdb
mailing list