asm-ppc64/ptrace.h / fscpr

Steve Munroe sjmunroe at
Thu May 20 06:17:30 EST 2004

Marcus Meissner <meissner at> wrote on 05/19/2004 10:44:26 AM:

> The fpscr offset is wrong, it is at position 32 in the FPR array on
> Found by IBM gdb testing.
> I have the vague suspicion the ptrace32 compat handling might be broken
> but I have to check.

#define PT_FPR0 48
#define PT_FPSCR (PT_FPR0 + 32 + 1)

So how is this wrong? Is the kernel storing the FPSCR in the wrong slot?

Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list