aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-16 00:27:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-16 00:27:46 +0000
commite76f1f2e332de69d2a48bd8ac7bf6d0390991f43 (patch)
treecf705bfaa288bfd083f9ef9f2999558450a55f79 /gdb/doc
parentb3de5b86c2331bce5929f982e5b680227eb0fb1a (diff)
downloadgdb-e76f1f2e332de69d2a48bd8ac7bf6d0390991f43.zip
gdb-e76f1f2e332de69d2a48bd8ac7bf6d0390991f43.tar.gz
gdb-e76f1f2e332de69d2a48bd8ac7bf6d0390991f43.tar.bz2
2002-08-15 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (vector_info): New function. (_initialize_infcmd): Add command "info vector". (print_vector_info): New function. * gdbarch.sh (PRINT_VECTOR_INFO): New method * gdbarch.h, gdbarch.c: Regenerate. Index: doc/ChangeLog 2002-08-15 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document PRINT_VECTOR_INFO. * gdb.texinfo (Vector Unit): Document "info vectors" command.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo14
-rw-r--r--gdb/doc/gdbint.texinfo8
3 files changed, 28 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index e7a4c54..585fe88 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-15 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbint.texinfo (Target Architecture Definition): Document
+ PRINT_VECTOR_INFO.
+ * gdb.texinfo (Vector Unit): Document "info vectors" command.
+
2002-08-13 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Maintenance Commands): Document "maint print
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f77ed53..ac6b8e3 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -5583,6 +5583,20 @@ floating point chip. Currently, @samp{info float} is supported on
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
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 433844a..d560c36 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -3099,6 +3099,14 @@ If defined, use this to print the value of a register or all registers.
If defined, then the @samp{info float} command will print information about
the processor's floating point unit.
+@item PRINT_VECTOR_INFO()
+@findex PRINT_VECTOR_INFO
+If defined, then the @samp{info vector} command will call this function
+to print information about the processor's vector unit.
+
+By default, the @samp{info vector} command will print all vector
+registers (the register's type having the vector attribute).
+
@item DWARF_REG_TO_REGNUM
@findex DWARF_REG_TO_REGNUM
Convert DWARF register number into @value{GDBN} regnum. If not defined,