* wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
new inferior.
+2000-07-14 Fernando Nasser <fnasser@cygnus.com>
+
+ * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
+ new inferior.
+
2000-07-04 Alexandre Oliva <aoliva@redhat.com>
* armvirt.c (ABORTS): Do not define.
case 7: /* armv5 */
case 8: /* armv5t */
ARMul_SelectProcessor (state, STRONGARM);
+ /* 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);
break;
case 3: /* armv3 */