Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [rfc] New command ``info vector''
@ 2002-08-10 11:58 Andrew Cagney
  2002-08-11  6:56 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2002-08-10 11:58 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

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

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1018 bytes --]

2002-08-10  Andrew Cagney  <ac131313@redhat.com>

	* 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-11 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-10 11:58 [rfc] New command ``info vector'' Andrew Cagney
2002-08-11  6:56 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox