Re: [PATCH] fix PPC floating point debug
From: Stefani Seibold <stefani@seibold.net>
Date: 2009-11-27 12:44:30
Also in:
lkml
From: Stefani Seibold <stefani@seibold.net>
Date: 2009-11-27 12:44:30
Also in:
lkml
Am Freitag, den 27.11.2009, 22:01 +1100 schrieb Benjamin Herrenschmidt:
On Fri, 2009-11-27 at 09:59 +0100, Stefani Seibold wrote:quoted
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