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 Provide some more registers.



details:   https://anonhg.NetBSD.org/src/rev/a4e3bbb88a47
branches:  trunk
changeset: 771722:a4e3bbb88a47
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Dec 01 09:16:28 2011 +0000

description:
Provide some more registers.

diffstat:

 external/gpl3/gdb/dist/gdb/hppanbsd-tdep.c |  34 +++++++++++++++++++++++++++++-
 1 files changed, 33 insertions(+), 1 deletions(-)

diffs (58 lines):

diff -r 41149792a605 -r a4e3bbb88a47 external/gpl3/gdb/dist/gdb/hppanbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/hppanbsd-tdep.c        Thu Dec 01 07:05:52 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/hppanbsd-tdep.c        Thu Dec 01 09:16:28 2011 +0000
@@ -60,6 +60,19 @@
   38 * 4,      /* sr1 */
   39 * 4,      /* sr2 */
   40 * 4,      /* sr3 */
+  -1,          /* 48 */
+  -1,          /* 49 */
+  -1,          /* 50 */
+  -1,          /* 51 */
+  -1,          /* 52 */
+  -1,          /* 53 */
+  -1,          /* 54 */
+  -1,          /* 55 */
+  -1,          /* 56 */
+  -1,          /* 57 CR24 */
+  -1,          /* 58 CR25 */
+  -1,          /* 59 CR26 */
+  43 * 4,      /* HPPA_CR27_REGNUM */
 
   /* more tbd */
 };
@@ -133,7 +146,7 @@
 /* Core file support.  */
 
 /* Sizeof `struct reg' in <machine/reg.h>.  */
-#define HPPANBSD_SIZEOF_GREGS  (44 * 4)
+#define HPPANBSD_SIZEOF_GREGS  (46 * 4)
 
 static int hppanbsd_reg_offset[] =
 {
@@ -157,6 +170,25 @@
   -1,          /* HPPA_ISR_REGNUM */
   -1,          /* HPPA_IOR_REGNUM */
   0 * 4,       /* HPPA_IPSW_REGNUM */
+  -1,          /* spare? */
+  41 * 4,      /* HPPA_SR4_REGNUM */
+  37 * 4,      /* sr0 */
+  38 * 4,      /* sr1 */
+  39 * 4,      /* sr2 */
+  40 * 4,      /* sr3 */
+  -1,          /* 48 */
+  -1,          /* 49 */
+  -1,          /* 50 */
+  -1,          /* 51 */
+  -1,          /* 52 */
+  -1,          /* 53 */
+  -1,          /* 54 */
+  -1,          /* 55 */
+  -1,          /* 56 */
+  -1,          /* 57 */
+  -1,          /* 58 */
+  -1,          /* 59 */
+  46 * 4,      /* HPPA_CR27_REGNUM */
 };
 
 /* Supply register REGNUM from the buffer specified by GREGS and LEN



Home | Main Index | Thread Index | Old Index