mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Chris.Gottbrath@etnus.com
Cc: chrisg@etnus.com, marcelo@conectiva.com.br, discuss@x86-64.org,
	linux-kernel@vger.kernel.org, jdelsign@etnus.com
Subject: Re: [PATCH] x86-64 only: ia32entry.S reg changes dropped during debugging
Date: Thu, 27 May 2004 01:33:39 +0200	[thread overview]
Message-ID: <20040527013339.60f590cf.ak@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0405261822370.8575@papua.etnus.com>

On Wed, 26 May 2004 18:50:11 -0400 (EDT)
Chris Gottbrath <chrisg@etnus.com> wrote:

> 
> Andi, 
> 
> We develop a debugger for linux x86-64 called TotalView. We have 
> recently tracked down a problem to the fact that some register changes
> made by the debugger in the target are getting discarded. This is only 
> happening with the 2.4.x kernels on x86-64. It appears that the 
> bug may have been fixed as a side effect of some other change in 2.6.x.
> 
> The scenario is that the debugger uses ptrace(PTRACE_SYSCALL,) and 
> changes some registers in the process while it is stopped in a
> system call. We are finding that the system call entry code discards 
> changes to R15, R14, R13, R12, RBP, and RBX.
> 
> The following patch is against arch/x86_64/ia32/ia32entry.S in 2.4.26.

Looks good. Thanks.

-Andi


      reply	other threads:[~2004-05-26 23:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-26 22:50 Chris Gottbrath
2004-05-26 23:33 ` Andi Kleen [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=20040527013339.60f590cf.ak@suse.de \
    --to=ak@suse.de \
    --cc=Chris.Gottbrath@etnus.com \
    --cc=chrisg@etnus.com \
    --cc=discuss@x86-64.org \
    --cc=jdelsign@etnus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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

all inboxes | Powered by JetHome®