Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb match our number of registers.



details:   https://anonhg.NetBSD.org/src/rev/e94e590f8fb2
branches:  trunk
changeset: 323610:e94e590f8fb2
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 22 19:41:40 2018 +0000

description:
match our number of registers.

diffstat:

 external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r 53882d42f858 -r e94e590f8fb2 external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.h
--- a/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.h    Fri Jun 22 19:41:16 2018 +0000
+++ b/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.h    Fri Jun 22 19:41:40 2018 +0000
@@ -19,10 +19,10 @@
 
 #include "regset.h"
 
-/* The general-purpose regset consists of 30 X registers, plus LR, SP,
-   ELR, and SPSR registers.  SPSR is 32 bits but the structure is
+/* The general-purpose regset consists of 31 registers (30 X , plus LR), SP,
+   ELR (PC), SPSR register, and TPIDR.  SPSR is 32 bits but the structure is
    passed to 64 bit alignment.  */
-#define AARCH64_NBSD_SIZEOF_GREGSET  (34 * X_REGISTER_SIZE)
+#define AARCH64_NBSD_SIZEOF_GREGSET  (35 * X_REGISTER_SIZE)
 
 /* The fp regset consists of 32 V registers, plus FPSR and FPCR which
    are 4 bytes wide each, and the whole structure is padded to 128 bit



Home | Main Index | Thread Index | Old Index