]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add AArch64 SVE to NEWS and GDB manual
authorAlan Hayward <alan.hayward@arm.com>
Wed, 22 Aug 2018 08:17:24 +0000 (09:17 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 22 Aug 2018 08:19:01 +0000 (09:19 +0100)
gdb/
* NEWS: Add SVE to 8.2 section.

gdb/doc/
* doc/gdb.texinfo (AArch64 SVE): New subsubsection.

gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 96bf87b8a2b720a2d60ac11b724baf65ccd74373..cfb07519074c2c85562d553c300ae6c8bb62d7d5 100644 (file)
@@ -1,3 +1,7 @@
+2018-08-21  Alan Hayward  <alan.hayward@arm.com>
+
+       * NEWS: Add SVE to 8.2 section.
+
 2018-08-21  Pedro Alves  <palves@redhat.com>
 
        * guile/scm-utils.c (gdbscm_parse_function_args_1): New, factored
index 16d3d725897c8c06124709c0203be5d24c85f72b..bd03d72e9afb2b5413b5a322754fc352ee7c34dc 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -90,6 +90,9 @@ GNU/Linux/RISC-V              riscv*-*-linux*
 * C expressions can now use _Alignof, and C++ expressions can now use
   alignof.
 
+* Support for SVE on AArch64 Linux.  Note that GDB does not detect changes to
+  the vector length while the process is running.
+
 * New commands
 
 set debug fbsd-nat
index 8688b7fdd93e53be0c3a1b7ffcd83381a7b389c0..b14e35f79df61ca43f4ca587f2aa550f34e42fb5 100644 (file)
@@ -1,3 +1,7 @@
+2018-08-21  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.texinfo (AArch64 SVE): New subsubsection.
+
 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
 
        * gdb.texinfo (GDB/MI Data Manipulation): Document
index 433a2698a9264b352e560259f6157dc98a6777e3..eb898f9b1fe92df7e5dbf1d5120429a2facc464c 100644 (file)
@@ -23451,6 +23451,22 @@ Show whether AArch64 debugging messages are displayed.
 
 @end table
 
+@subsubsection AArch64 SVE.
+@cindex AArch64 SVE.
+
+When @value{GDBN} is debugging the AArch64 architecture, if the Scalable Vector
+Extension (SVE) is present, then @value{GDBN} will provide the vector registers
+@code{$z0} through @code{$z31}, vector predicate registers @code{$p0} through
+@code{$p15}, and the @code{$ffr} register.  In addition, the pseudo register
+@code{$vg} will be provided.  This is the vector granule for the current thread
+and represents the number of 64-bit chunks in an SVE @code{z} register.
+
+If the vector length changes, then the @code{$vg} register will be updated,
+but the lengths of the @code{z} and @code{p} registers will not change.  This
+is a known limitation of @value{GDBN} and does not affect the execution of the
+target process.
+
+
 @node i386
 @subsection x86 Architecture-specific Issues