From 0a4321b9039c2e2b9cdad3a266eff3ec8f99b137 Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Fri, 14 Jul 2000 21:27:15 +0000 Subject: [PATCH] 2000-07-14 Fernando Nasser * wrapper.c (sim_create_inferior): Fix typo in the previous patch. --- sim/arm/ChangeLog | 4 ++++ sim/arm/wrapper.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index c4f5150786f..6dc8bd5021a 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2000-07-14 Fernando Nasser + + * wrapper.c (sim_create_inferior): Fix typo in the previous patch. + 2000-07-14 Fernando Nasser * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 513c0d06d87..b7b7a62d098 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 */ -- 2.30.2