From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite/threads] backtrace past pthread_cond_wait() (2nd version) Date: Tue, 18 May 2004 21:57:00 -0000 Message-id: <20040518215730.GV10684@gnat.com> References: <20040518212358.GT10684@gnat.com> X-SW-Source: 2004-05/msg00545.html [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 * 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