aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/wrapper.c
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-07-14 21:27:15 +0000
committerFernando Nasser <fnasser@redhat.com>2000-07-14 21:27:15 +0000
commit0a4321b9039c2e2b9cdad3a266eff3ec8f99b137 (patch)
tree539660976da57eed908fac94d17227f4502850e0 /sim/arm/wrapper.c
parent585230bdeb882677a3d3db759680c29470d5c5ef (diff)
downloadgdb-0a4321b9039c2e2b9cdad3a266eff3ec8f99b137.zip
gdb-0a4321b9039c2e2b9cdad3a266eff3ec8f99b137.tar.gz
gdb-0a4321b9039c2e2b9cdad3a266eff3ec8f99b137.tar.bz2
2000-07-14 Fernando Nasser <fnasser@cygnus.com>
* wrapper.c (sim_create_inferior): Fix typo in the previous patch.
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r--sim/arm/wrapper.c2
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 */