aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/armsupp.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-07-04 05:16:20 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-07-04 05:16:20 +0000
commitb0eae074ca6977683bf979afd6a98ab663431a47 (patch)
treec3d8721b574f7a24aa2d2668f471be50ee38dab3 /sim/arm/armsupp.c
parented1de528f62ae040182ebfcee2cb4abc3194f47a (diff)
downloadgdb-b0eae074ca6977683bf979afd6a98ab663431a47.zip
gdb-b0eae074ca6977683bf979afd6a98ab663431a47.tar.gz
gdb-b0eae074ca6977683bf979afd6a98ab663431a47.tar.bz2
* armdefs.h (SYSTEMBANK): Define as USERBANK.
* armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
Diffstat (limited to 'sim/arm/armsupp.c')
-rw-r--r--sim/arm/armsupp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/arm/armsupp.c b/sim/arm/armsupp.c
index 5c18ddd..e63448a 100644
--- a/sim/arm/armsupp.c
+++ b/sim/arm/armsupp.c
@@ -369,10 +369,6 @@ ARMul_SwitchMode (ARMul_State * state, ARMword oldmode, ARMword newmode)
{ /* really need to do it */
switch (oldbank)
{ /* save away the old registers */
- case SYSTEMBANK:
- /* The System mode uses the USER bank. */
- oldbank = USERBANK;
- /* Fall through. */
case USERBANK:
case IRQBANK:
case SVCBANK:
@@ -398,9 +394,6 @@ ARMul_SwitchMode (ARMul_State * state, ARMword oldmode, ARMword newmode)
switch (newbank)
{ /* restore the new registers */
- case SYSTEMBANK:
- newbank = USERBANK;
- /* Fall through. */
case USERBANK:
case IRQBANK:
case SVCBANK: