From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA/testsuite/threads] backtrace past pthread_cond_wait() (2nd version) Date: Tue, 18 May 2004 21:23:00 -0000 Message-id: <20040518212358.GT10684@gnat.com> X-SW-Source: 2004-05/msg00540.html 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 * gdb.threads/pt.c: New file. * gdb.threads/pthread_cond_wait.exp: New test. OK to apply? Thanks, -- Joel