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]

GDB problems with pthread_join()



I have gdb-7.1 mostly working on our two processors (one is 32-bit, the other 64-bit). With a trivial pthread program running under GDB with no breakpoints set, it runs to completion on one machine (32-bit) but hangs on the other with:


Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xaaab54f200 (LWP 721)]
0x000000aaaab09e58 in pthread_join (threadid=733018911232, thread_return=0x0)
at pthread_join.c:89


The SIGTRAP could be GDB's hook into the pthread library but I'm not sure. Other SIGTRAPs succeed happily (traced with set debug infrun 1).

Any clues? Anyone seen this before? Thoughts besides "sounds nasty and you'll have to figure it out yourself"?

Thanks.

--jeff


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