Re: [PATCH] fix PPC floating point debug

From: Stefani Seibold
Date: Fri Nov 27 2009 - 07:44:47 EST


Am Freitag, den 27.11.2009, 22:01 +1100 schrieb Benjamin Herrenschmidt:
> On Fri, 2009-11-27 at 09:59 +0100, Stefani Seibold wrote:
> > The PPC architecture is unable to debug applications using hardware
> > floating point, because it would not save the floating point registers.
> >
> > After returning from the debugger, the contents of register was
> > modified. This patch fix this bug.
>
> I'm not sure what problem you are trying to fix... debugging FP apps
> works just fine afaik. You don't need to flush the FP state into the
> thread when delivering the SIGTRAP. If you have a signal handler, that
> will be done for you by the signal code before laying out the signal
> frame. If you are using ptrace, you should be using the appropriate
> ptrace calls to retrieve the FP state and they should do the right thing
> to.
>

Aeh... Forget it! Thank you for the support.

Stefani


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/