This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: problem unwinding past pthread_cond_wait() on x86 RedHat 9.0
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 22 Oct 2003 22:41:39 -0400
- Subject: Re: problem unwinding past pthread_cond_wait() on x86 RedHat 9.0
- References: <20031014054225.GB919@gnat.com> <20031023010754.GQ701@gnat.com>
On Wed, Oct 22, 2003 at 06:07:54PM -0700, Joel Brobecker wrote:
> Hello,
>
> the discussion regarding this problem showed that we can not basically
> do much in that case...
>
> Still, I was wondering if you were interested in a new gdb.threads test.
> As far as I can see, none of our current thread test seems to be
> catching the problem I reported.
>
> Basically, the C code would create a new thread, that we would block
> on a call to pthread_cond_wait(). After reaching a breakpoint in the
> main procedure, we would swith to the blocked thread, and try to get
> a backtrace.
>
> I can also open a PR...
>
> Let me know.
New testcases are always appreciated. It may end up being XFAIL'd for
some cases, though.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer