aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-tdep.h
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-06-11 10:24:20 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-06-11 10:24:20 +0100
commit65d4cadafd7d9d5bb84810cde98a8c3a007a0594 (patch)
tree54fa58a490961cdf7b65ff78d4cebf969071186c /gdb/aarch64-tdep.h
parentf868386e72baad6f35d4288f433266e03ed2753d (diff)
downloadgdb-65d4cadafd7d9d5bb84810cde98a8c3a007a0594.zip
gdb-65d4cadafd7d9d5bb84810cde98a8c3a007a0594.tar.gz
gdb-65d4cadafd7d9d5bb84810cde98a8c3a007a0594.tar.bz2
Add Aarch64 SVE dwarf regnums
This is as per the spec: https://developer.arm.com/products/architecture/a-profile/docs/100985/0000 gdb/ * aarch64-tdep.c (aarch64_dwarf_reg_to_regnum): Add mappings. * aarch64-tdep.h (AARCH64_DWARF_SVE_VG): Add define. (AARCH64_DWARF_SVE_FFR): Likewise. (AARCH64_DWARF_SVE_P0): Likewise. (AARCH64_DWARF_SVE_Z0): Likewise.
Diffstat (limited to 'gdb/aarch64-tdep.h')
-rw-r--r--gdb/aarch64-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/aarch64-tdep.h b/gdb/aarch64-tdep.h
index 5a31955..7e5031f 100644
--- a/gdb/aarch64-tdep.h
+++ b/gdb/aarch64-tdep.h
@@ -32,6 +32,10 @@ struct regset;
#define AARCH64_DWARF_X0 0
#define AARCH64_DWARF_SP 31
#define AARCH64_DWARF_V0 64
+#define AARCH64_DWARF_SVE_VG 46
+#define AARCH64_DWARF_SVE_FFR 47
+#define AARCH64_DWARF_SVE_P0 48
+#define AARCH64_DWARF_SVE_Z0 96
/* Size of integer registers. */
#define X_REGISTER_SIZE 8