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
commita1ab2f5eafb66c2db24c121821b4bbe7af6134ba (patch)
tree43da48b6a938e72120309ab67e82f719ac2a6807 /sim/arm/armemu.c
parent738afaeaa2ececb9764b6ab498b8a6757dcfd4c9 (diff)
downloadgdb-a1ab2f5eafb66c2db24c121821b4bbe7af6134ba.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;