summaryrefslogtreecommitdiff
path: root/sim
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
commitfffe0f81749948640cae7faaa5277e249f933920 (patch)
tree1d9679e9495510e724d6d2249d5303047d2b57eb /sim
parentd3ec12d0c70256b3edab677c438332fefd7ba0fc (diff)
downloadgdb-fffe0f81749948640cae7faaa5277e249f933920.tar.gz
2000-07-14 Fernando Nasser <fnasser@cygnus.com>
* wrapper.c (sim_create_inferior): Fix typo in the previous patch.
Diffstat (limited to 'sim')
-rw-r--r--sim/arm/ChangeLog4
-rw-r--r--sim/arm/wrapper.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index c4f5150786f..6dc8bd5021a 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,5 +1,9 @@
2000-07-14 Fernando Nasser <fnasser@cygnus.com>
+ * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
+
+2000-07-14 Fernando Nasser <fnasser@cygnus.com>
+
* 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 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 */