Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gdb6/gdb Provide more regsiters including CR27.
details: https://anonhg.NetBSD.org/src/rev/c3cd9a6df4e5
branches: trunk
changeset: 762852:c3cd9a6df4e5
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 03 09:43:27 2011 +0000
description:
Provide more regsiters including CR27.
diffstat:
gnu/dist/gdb6/gdb/hppanbsd-tdep.c | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diffs (58 lines):
diff -r f12060db2b1a -r c3cd9a6df4e5 gnu/dist/gdb6/gdb/hppanbsd-tdep.c
--- a/gnu/dist/gdb6/gdb/hppanbsd-tdep.c Thu Mar 03 09:37:21 2011 +0000
+++ b/gnu/dist/gdb6/gdb/hppanbsd-tdep.c Thu Mar 03 09:43:27 2011 +0000
@@ -68,6 +68,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 */
};
@@ -141,7 +154,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[] =
{
@@ -165,6 +178,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