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]

gdbserver 6.0 (ppc) core dump on continue from gdb 6.0(x86), butnot with debug_thread=1


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



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