aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2013-02-08 12:46:28 +0000
committerYufeng Zhang <yufeng.zhang@arm.com>2013-02-08 12:46:28 +0000
commitb5dbc8d42991fb1ac3cf5d9b7817102712701d30 (patch)
treed38fbe63fc202fd5de3f003f345ad2449fc75788 /gdb
parent170a82956d5bdbfbfa3e3ef1df77d0328442f50a (diff)
downloadgdb-b5dbc8d42991fb1ac3cf5d9b7817102712701d30.zip
gdb-b5dbc8d42991fb1ac3cf5d9b7817102712701d30.tar.gz
gdb-b5dbc8d42991fb1ac3cf5d9b7817102712701d30.tar.bz2
gdb/
2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the number of the registers from 36 to 34.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/aarch64-linux-tdep.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 47a0040..311ebd1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
+ number of the registers from 36 to 34.
+
2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
* NEWS: Mention new AArch64 native and target support.
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index 3055a0a..8e66425 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -36,9 +36,9 @@
#include "regset.h"
/* The general-purpose regset consists of 31 X registers, plus SP, PC,
- PSTATE and two extra pseudo 64-bit registers, as defined in the
- AArch64 port of the Linux kernel. */
-#define AARCH64_LINUX_SIZEOF_GREGSET (36 * X_REGISTER_SIZE)
+ and PSTATE registers, as defined in the AArch64 port of the Linux
+ kernel. */
+#define AARCH64_LINUX_SIZEOF_GREGSET (34 * X_REGISTER_SIZE)
/* The fp regset consists of 32 V registers, plus FPCR and FPSR which
are 4 bytes wide each, and the whole structure is padded to 128 bit