This is the mail archive of the
mailing list for the GDB project.
Re: Stepping over longjmp presumably broken for glibc
On Fri, Dec 23, 2005 at 07:07:23PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 23 Dec 2005 10:20:21 -0500
> > From: Daniel Jacobowitz <firstname.lastname@example.org>
> > Probably, we need to single-step until we're out of longjmp, taking
> > special care of any architecture which calls functions from longjmp (I
> > don't know of any, but I bet there is one somewhere). I don't know if
> > we can do that without infrastructure changes or not.
> Wouldn't it be easier to talk to glibc developers into setting up an
> API for revealing the PC?
I think that would be just as complicated as single-stepping out of
longjmp, with the added downside of greater coordination between the
debugger and runtime (additional points of failure).