Skip to content
Commit c49b6ecf authored by Phil Edworthy's avatar Phil Edworthy Committed by Paul Mundt
Browse files

sh: Fix ptrace fpu state initialisation

Commit 0ea820cf

 introduced the PTRACE_GETFPREGS/SETFPREGS cmds,
but gdb-server still accesses the FPU state using the
PTRACE_PEEKUSR/POKEUSR commands. In this case, xstate was not
initialised.

Signed-off-by: default avatarPhil Edworthy <phil.edworthy@renesas.com>
Cc: stable@kernel.org
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 3f4caa81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment