Provide more regsiters including CR27.

This commit is contained in:
skrll 2011-03-03 09:43:27 +00:00
parent 1ec0684c4b
commit 59f75205eb
1 changed files with 33 additions and 1 deletions

View File

@ -68,6 +68,19 @@ static int hppanbsd_mc_reg_offset[] =
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 @@ hppanbsd_sigtramp_cache_init (const struct tramp_frame *self,
/* 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 @@ static int hppanbsd_reg_offset[] =
-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