From: Michael Riepe <michael.riepe@googlemail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Where did struct user_regs_struct{,32} go?
Date: Wed, 25 Mar 2009 00:21:32 +0100 [thread overview]
Message-ID: <49C96AFC.2030508@googlemail.com> (raw)
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
next reply other threads:[~2009-03-24 23:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 23:21 Michael Riepe [this message]
2009-03-25 1:14 ` Where did struct user_regs_struct{,32} go? Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49C96AFC.2030508@googlemail.com \
--to=michael.riepe@googlemail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox