Re: Where did struct user_regs_struct{,32} go?

From: Jeff Dike
Date: Tue Mar 24 2009 - 21:14:24 EST


On Wed, Mar 25, 2009 at 12:21:32AM +0100, Michael Riepe wrote:
> Am I supposed to roll my own
> when I want to ptrace(PTRACE_GETREGS) the registers of a 32-bit process
> from 64-bit land?

Shouldn't the kernel convert the 32-bit registers into a 64-bit
user_regs_struct for GETREGS and convert them back for SETREGS?

Jeff

--
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/