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]

[RFA/testsuite] backtrace past pthread_cond_wait()


Hello,

Re: http://sources.redhat.com/ml/gdb-patches/2003-10/msg00440.html

Here is a new test that would verify that GDB is able to unwind past
pthread_cond_wait(). On my laptop, I get all PASS, while on a RH9.0
machine I get one FAIL.

I am not too familiar with pthreads, so I hope my program is portable.
In particular, I am worried about cygwin... Some guidance would be much
appreciated (in Ada, we use tasks, which syntax and behavior is defined
by the Ada Reference Manual, so the issue about portability is left to
the compiler/runtime developers).

2003-11-19  J. Brobecker  <brobecker@gnat.com>

        * gdb.threads/pt.c: New file.
        * gdb.threads/pthread_cond_wait.exp: New test.

OK to apply?

Thanks,
-- 
Joel

Attachment: pt.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]