This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-8.2-branch] Add AArch64 SVE to NEWS and GDB manual
- From: Alan Hayward <alahay01 at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 22 Aug 2018 08:48:50 -0000
- Subject: [binutils-gdb/gdb-8.2-branch] Add AArch64 SVE to NEWS and GDB manual
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=694b0fb308cb7a6b19cd6323d9284408a503de9c
commit 694b0fb308cb7a6b19cd6323d9284408a503de9c
Author: Alan Hayward <alan.hayward@arm.com>
Date: Wed Aug 22 09:17:24 2018 +0100
Add AArch64 SVE to NEWS and GDB manual
gdb/
* NEWS: Add SVE to 8.2 section.
gdb/doc/
* doc/gdb.texinfo (AArch64 SVE): New subsubsection.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/NEWS | 3 +++
gdb/doc/ChangeLog | 4 ++++
gdb/doc/gdb.texinfo | 16 ++++++++++++++++
4 files changed, 27 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e4d9e17..fbaaa7f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-21 Alan Hayward <alan.hayward@arm.com>
+
+ * NEWS: Add SVE to 8.2 section.
+
2018-08-16 Tom Tromey <tom@tromey.com>
* top.c (read_command_file): Update.
diff --git a/gdb/NEWS b/gdb/NEWS
index 001a449..c844fe2 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -34,6 +34,9 @@
* 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
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index fbdab9b..e9d19f8 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-21 Alan Hayward <alan.hayward@arm.com>
+
+ * gdb.texinfo (AArch64 SVE): New subsubsection.
+
2018-07-02 Maciej W. Rozycki <macro@mips.com>
PR tdep/8282
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 91ec219..08ca910 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -23190,6 +23190,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