summaryrefslogtreecommitdiff
path: root/sim/arm/armemu.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-28 01:04:24 +0000
committerNick Clifton <nickc@redhat.com>2001-02-28 01:04:24 +0000
commit917bca4f210f0b654abbb8497dd4f8abe5bf9e9f (patch)
tree578acea531543f8b6b6361923e6d8dba5b112955 /sim/arm/armemu.c
parent3078eca93142e636b211897744a97b66569593b9 (diff)
downloadbinutils-gdb-917bca4f210f0b654abbb8497dd4f8abe5bf9e9f.tar.gz
Add support for disabling alignment checks when performing GDB interface
calls or SWI emulaiton routines. (Alignment checking code has not yet been contributed).
Diffstat (limited to 'sim/arm/armemu.c')
-rw-r--r--sim/arm/armemu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c
index 6b963c72c6f..dcc505fa3be 100644
--- a/sim/arm/armemu.c
+++ b/sim/arm/armemu.c
@@ -1369,8 +1369,8 @@ ARMul_Emulate26 (register ARMul_State * state)
value |= 0xc;
write_cp14_reg (10, value);
- write_cp15_reg (5, 0, 0, 0x200); /* Set FSR. */
- write_cp15_reg (6, 0, 0, pc); /* Set FAR. */
+ write_cp15_reg (state, 5, 0, 0, 0x200); /* Set FSR. */
+ write_cp15_reg (state, 6, 0, 0, pc); /* Set FAR. */
}
else
break;