diff options
author | Chris Demetriou <cgd@google.com> | 2004-05-12 01:42:33 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2004-05-12 01:42:33 +0000 |
commit | 1a27f959ea4265e9ba61e61b22b673347bb9b3ed (patch) | |
tree | 9f5f2b463a3be9397889efa7e53118751203a56e /sim/mips/sim-main.h | |
parent | 922d5ae03abd5871562e3959ed6eb15578519617 (diff) | |
download | gdb-1a27f959ea4265e9ba61e61b22b673347bb9b3ed.zip gdb-1a27f959ea4265e9ba61e61b22b673347bb9b3ed.tar.gz gdb-1a27f959ea4265e9ba61e61b22b673347bb9b3ed.tar.bz2 |
2004-05-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* mips/interp.c (decode_coproc): Sign-extend the address retrieved
from COP0_BADVADDR.
* mips/sim-main.h (COP0_BADVADDR): Remove a cast.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r-- | sim/mips/sim-main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 96a86e9..10ddbf2 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -383,7 +383,7 @@ struct _sim_cpu { #define NR_COP0_GPR 32 unsigned_word cop0_gpr[NR_COP0_GPR]; #define COP0_GPR ((CPU)->cop0_gpr) -#define COP0_BADVADDR ((unsigned32)(COP0_GPR[8])) +#define COP0_BADVADDR (COP0_GPR[8]) /* While space is allocated for the floating point registers in the main registers array, they are stored separatly. This is because |