diff options
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r-- | sim/arm/wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 513c0d0..b7b7a62 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -228,7 +228,7 @@ sim_create_inferior (sd, abfd, argv, env) /* Reset mode to ARM. A gdb user may rerun a program that had entered THUMB mode from the start and cause the ARM-mode startup code to be executed in THUMB mode. */ - ARMul_SetCPSR (state, THUMB2MODE); + ARMul_SetCPSR (state, USER32MODE); break; case 3: /* armv3 */ |