gdbserver 6.0 (ppc) core dump on continue from gdb 6.0(x86), but not with debug_thread=1
Albert Ho
alberth@intellambda.com
Wed Feb 25 01:15:00 GMT 2004
More info on a question asked previously at
http://sources.redhat.com/ml/gdb/2004-02/msg00301.html
The test program involves pthread. The libpthread.so.0 is loaded
correctly on both host and target.
With debug_thread set to 1 in gdbserver/linux-low.c, a test program on
target ppc with 5 threads can be controlled from gdb on x86 host. With
the same setup, a bigger program still got SIGTRAP on pthread_create
(the real thing has 4 threads).
With debug_thread set to 0, the test program get a SIGTRAP on
pthread_create().
Any advice on how to debug from there?
Thanks
Albert
More information about the Gdb
mailing list