From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17515 invoked by alias); 10 Aug 2002 18:58:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17499 invoked from network); 10 Aug 2002 18:58:18 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 10 Aug 2002 18:58:18 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id F364C3F1A for ; Sat, 10 Aug 2002 14:58:08 -0400 (EDT) Message-ID: <3D556240.8090201@ges.redhat.com> Date: Sat, 10 Aug 2002 11:58: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: gdb@sources.redhat.com Subject: [rfc] New command ``info vector'' Content-Type: multipart/mixed; boundary="------------080900070201080102070005" X-SW-Source: 2002-08/txt/msg00085.txt.bz2 This is a multi-part message in MIME format. --------------080900070201080102070005 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 394 Hello, (following up a gdb-patches@ thread) I'd like to propose a new command: info vector This command would display information about an architecture's vector unit. Each architecture could customize it but, by default, it would display any vector registers. On the i386, for instance, it would display the xmm and mmx registers. I've attached draft documentation. thoughts? Andrew --------------080900070201080102070005 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1018 2002-08-10 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Document PRINT_VECTOR_INFO. * gdb.texinfo (Vector Unit): Document "info vectors" command. Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.110 diff -u -r1.110 gdb.texinfo --- doc/gdb.texinfo 10 Aug 2002 00:40:40 -0000 1.110 +++ doc/gdb.texinfo 10 Aug 2002 18:40:40 -0000 @@ -5583,6 +5583,20 @@ the ARM and x86 machines. @end table +@node Vector Unit +@section Vector Unit +@cindex vector unit + +Depending on the configuration, @value{GDBN} may be able to give you +more information about the status of the vector unit. + +@table @code +@kindex info vector +@item info vector +Display information about the vector unit. The exact contents and +layout vary depending on the hardware. +@end table + @node Memory Region Attributes @section Memory region attributes @cindex memory region attributes --------------080900070201080102070005--