Help needed for gdbserver and pthread on Redhat 9

Ming Sun
2003-10-09T16:04:06Z

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]#