This is the mail archive of the gdb-patches@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] |
[sigh, with the patch this time...] Michael had a very clever idea on how to avoid the assumption that the block thread is the thread with the highest ID. We just get a backtrace from all threads, and check that one of them matches the backtrace that would be expected from the thread that would be blocked. 2004-05-18 J. Brobecker <brobecker@gnat.com> * gdb.threads/pt.c: New file. * gdb.threads/pthread_cond_wait.exp: New test. OK to apply? -- Joel
Attachment:
pthread_cond_wait.c
Description: Text document
Attachment:
pthread_cond_wait.exp
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |