All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Michael Riepe <michael.riepe@googlemail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Where did struct user_regs_struct{,32} go?
Date: Tue, 24 Mar 2009 21:14:02 -0400	[thread overview]
Message-ID: <20090325011402.GA15592@c2.user-mode-linux.org> (raw)
In-Reply-To: <49C96AFC.2030508@googlemail.com>

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

      reply	other threads:[~2009-03-25  1:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 23:21 Where did struct user_regs_struct{,32} go? Michael Riepe
2009-03-25  1:14 ` Jeff Dike [this message]

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=20090325011402.GA15592@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.riepe@googlemail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.