From: fnasser Date: Fri, 14 Jul 2000 21:27:15 +0000 (+0000) Subject: 2000-07-14 Fernando Nasser X-Git-Tag: pre-cygwin-heap~647 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=157c6c64917eca2fd1158984c32beffaaed7433f;p=pf3gnuchains%2Fpf3gnuchains4x.git 2000-07-14 Fernando Nasser * wrapper.c (sim_create_inferior): Fix typo in the previous patch. --- diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index c4f5150786..6dc8bd5021 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,5 +1,9 @@ 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 new inferior. diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 513c0d06d8..b7b7a62d09 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 */