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
> No matter how much you patch GDB, GDB isn't going to dig itself out of
> thishole. It's not able to access the code/data/whatever at that
> address so it's never going to correctly unwind from it.
It's actually able to do a decent job. The problem at hand is not
due to the "kernel bug", but rather the lack of unwind information
for the pthread_cond_wait() function.
And I am afraid that pthread_cond_wait() is just one example. With
GCC getting better and better at optimizing, we will likely see
this more and more often...
--
Joel