This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA/testsuite/threads] backtrace past pthread_cond_wait() (2nd version)
- From: Joel Brobecker <brobecker at gnat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 18 May 2004 14:23:58 -0700
- Subject: [RFA/testsuite/threads] backtrace past pthread_cond_wait() (2nd version)
Hello,
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?
Thanks,
--
Joel