This is the mail archive of the gdb@sources.redhat.com 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]

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




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