This is the mail archive of the gdb@sourceware.org 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] |
Hi Daniel, Here is the summary/Problem report. I compile gdb with gdb-6.3-orig + patches from gdb_6.3-6.diff for both powerpc and i686. Using this gdb on respective arch, I ran different tests on a simple test program. (Program attached). I normally comile this program through "gcc -g -static -o pthread_test pthread_test.c -lpthread" or through cross compilation. On All tests, I setup a breakpoint in run_thread1. As soon as breakpoint is encountered in non-main thread, the program terminates with following message. "Program terminated with signal SIGTRAP, Trace/breakpoint trap". Test 1 on PowerPC (Apple's EMAC) Kernel Version-2.6.11.2 (from kernel.org), Glibc 2.3.5 (with NPTL). Program terminated with signal SIGTRAP, Trace/breakpoint trap Test 2 on PowerPC (Apple's EMAC) Kernel Version-2.6.11.2 (from kernel.org), Glibc 2.3.4 (with NPTL). Program terminated with signal SIGTRAP, Trace/breakpoint trap Test 3 on i686 (Dell optiplex) Kernel Version-2.6.13.2 (from kernel.org), glibc 2.3.4 (with NPTL). Program terminated with signal SIGTRAP, Trace/breakpoint trap Test 4 on i686 (Dell optiplex) Kernel Version-2.6.13.2 (from kernel.org), glibc 2.3.3 (Linux threads) Program terminated with signal SIGTRAP, Trace/breakpoint trap If you need more info please let me know. Thanks for your help. Thanks Ajay
Attachment:
pthread_test.c
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |