diff options
author | Nick Clifton <nickc@redhat.com> | 2002-05-27 14:12:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-05-27 14:12:00 +0000 |
commit | 10b57fcbd720b5fab5b54901e7c80a2b39898cc4 (patch) | |
tree | 24dd8123d4584f1b4d3de8d09e2b47b0cb85fa7b /sim/arm/armsupp.c | |
parent | f08caad151ffb2884eeb58c956f931ea8d30e0bf (diff) | |
download | gdb-10b57fcbd720b5fab5b54901e7c80a2b39898cc4.zip gdb-10b57fcbd720b5fab5b54901e7c80a2b39898cc4.tar.gz gdb-10b57fcbd720b5fab5b54901e7c80a2b39898cc4.tar.bz2 |
Only perform access checks if 'check' is set.
Report unknown machine numbers.
Formatting tidy ups.
Diffstat (limited to 'sim/arm/armsupp.c')
-rw-r--r-- | sim/arm/armsupp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/armsupp.c b/sim/arm/armsupp.c index 027a962..6e22ac7 100644 --- a/sim/arm/armsupp.c +++ b/sim/arm/armsupp.c @@ -138,6 +138,7 @@ void ARMul_FixCPSR (ARMul_State * state, ARMword instr, ARMword rhs) { state->Cpsr = ARMul_GetCPSR (state); + if (state->Mode != USER26MODE && state->Mode != USER32MODE) { @@ -569,7 +570,6 @@ ARMul_STC (ARMul_State * state, ARMword instr, ARMword address) #ifndef MODE32 if (ADDREXCEPT (address) || VECTORACCESS (address)) INTERNALABORT (address); - #endif BUSUSEDINCPCN; if (BIT (21)) |