Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Don't include vector registers in ``info registers''
Date: Fri, 09 Aug 2002 11:39:00 -0000	[thread overview]
Message-ID: <3D540C47.4090803@ges.redhat.com> (raw)
In-Reply-To: <3D5307C9.2010003@ges.redhat.com>

Not my day.

> It will eventually affect the i386 -- I've a patch to change the type of xmm [and mmx] registers to true vectors.  When that is in, ``info registers'' will stop displaying the xmm registers.

I figured out why it wasn't already affecting the i386.  That's been 
converted to the new vec128i already and the test is out-of-date :-(

> +	  if (!print_all)
> +	    {
> +	      if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (i)) == TYPE_CODE_FLT)
> +		continue;
> +	      if (TYPE_VECTOR (REGISTER_VIRTUAL_TYPE (i)))
> +		continue;
> +	    }

This would need to read something like:

	if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (i)) == struct or union
	  && first field's type was a vector)
	  continue;

What the heck, time for ``register_attribute()''.

Andrew



  parent reply	other threads:[~2002-08-09 18:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-08 16:52 Andrew Cagney
2002-08-08 17:07 ` Andrew Cagney
2002-08-08 19:07   ` Elena Zannoni
2002-08-08 19:24     ` Andrew Cagney
2002-08-13 14:45     ` Andrew Cagney
2002-08-09 11:39   ` Andrew Cagney [this message]
2002-08-15 17:12   ` Andrew Cagney
2002-08-08 18:33 ` Daniel Jacobowitz
2002-08-08 18:45   ` Michael Snyder
2002-08-08 19:35   ` Andrew Cagney
2002-08-08 18:50 ` Michael Snyder

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=3D540C47.4090803@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --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