* Where did struct user_regs_struct{,32} go?
@ 2009-03-24 23:21 Michael Riepe
2009-03-25 1:14 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Michael Riepe @ 2009-03-24 23:21 UTC (permalink / raw)
To: Linux Kernel Mailing List
It seems that 2.6.29 (and maybe also 2.6.28) doesn't export the
structures any longer (they used to reside in <asm/user_{32,64}.h>).
<linux/user.h> is gone as well. There is only <sys/user.h>, but it
doesn't define struct user_regs_struct32. 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?
--
Michael "Tired" Riepe <michael.riepe@googlemail.com>
X-Tired: Each morning I get up I die a little
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Where did struct user_regs_struct{,32} go?
2009-03-24 23:21 Where did struct user_regs_struct{,32} go? Michael Riepe
@ 2009-03-25 1:14 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2009-03-25 1:14 UTC (permalink / raw)
To: Michael Riepe; +Cc: LKML
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-25 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 23:21 Where did struct user_regs_struct{,32} go? Michael Riepe
2009-03-25 1:14 ` Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox