asm-ppc64/ptrace.h / fscpr
Steve Munroe
sjmunroe at us.ibm.com
Thu May 20 06:17:30 EST 2004
Marcus Meissner <meissner at suse.de> wrote on 05/19/2004 10:44:26 AM:
>
> The fpscr offset is wrong, it is at position 32 in the FPR array on
ppc64.
>
> Found by IBM gdb testing.
>
> I have the vague suspicion the ptrace32 compat handling might be broken
too,
> 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 http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list