Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: cagney@gnu.org
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Re: [rfa/amd64] Zero fill 32-bit registers
Date: Sun, 29 Feb 2004 23:45:00 -0000	[thread overview]
Message-ID: <200402292345.i1TNjC4i000914@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: <404271AE.5000102@gnu.org> (message from Andrew Cagney on Sun, 29 Feb 2004 18:11:42 -0500)

   Date: Sun, 29 Feb 2004 18:11:42 -0500
   From: Andrew Cagney <cagney@gnu.org>

   >    Date: Sat, 28 Feb 2004 15:39:47 -0500
   >    From: Andrew Cagney <cagney@gnu.org>
   > 
   >    > Could you live with just zero-extending the 16 general-purpose
   >    > registers and the instruction pointer?  I'll implement it for you.
   > 
   >    It is certainly an improvement!  Can you test it?
   > 
   > I've tested the attached on SuSE 8.2, with -m32.  No changes in the
   > testoutput for me, but the threaded stuff doesn't work very well on
   > the system (and probably no at all in on 32x64-bit).  I committed it
   > anyway, since I can't imagine this making things worse for the
   > threaded stuff if it works for the non-threaded stuff.  I'd appreciate
   > it if you could test whether this fixed the problems you were seeing.

   The segment registers have the same problem, is the attached ok? 6.1? 
   With it applied I get test results that approach i386.

   2004-02-29  Andrew Cagney  <cagney@redhat.com>

	   * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
	   32-bit segment registers.

OK.  Feel free to add the segment registers to enum i386_regnum and
use <= I386_GS_REGNUM instead of < I386_ST0_REGNUM though.

Mark


  reply	other threads:[~2004-02-29 23:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-27  1:22 Andrew Cagney
2004-02-28 10:46 ` Mark Kettenis
2004-02-28 15:17   ` Andrew Cagney
2004-02-28 17:35     ` Mark Kettenis
2004-02-28 19:18       ` Andrew Cagney
2004-02-28 20:26         ` Mark Kettenis
2004-02-28 20:40           ` Andrew Cagney
2004-02-28 21:56             ` [PATCH] " Mark Kettenis
2004-02-29 23:11               ` Andrew Cagney
2004-02-29 23:45                 ` Mark Kettenis [this message]
2004-03-02 16:10                   ` Andrew Cagney
2004-03-19  0:09                     ` Andrew Cagney

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=200402292345.i1TNjC4i000914@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox