From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10325 invoked by alias); 9 Aug 2002 18:39:10 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10314 invoked from network); 9 Aug 2002 18:39:08 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 9 Aug 2002 18:39:08 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 25D933C71; Fri, 9 Aug 2002 14:39:03 -0400 (EDT) Message-ID: <3D540C47.4090803@ges.redhat.com> Date: Fri, 09 Aug 2002 11:39:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020802 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Don't include vector registers in ``info registers'' References: <3D53041D.90609@ges.redhat.com> <3D5307C9.2010003@ges.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00219.txt.bz2 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