[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1259325859.21806.7.camel@wall-e>
Date: Fri, 27 Nov 2009 13:44:19 +0100
From: Stefani Seibold <stefani@...bold.net>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] fix PPC floating point debug
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists