2000-07-14 Fernando Nasser <fnasser@cygnus.com>

* wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
        new inferior.
This commit is contained in:
Fernando Nasser 2000-07-14 16:49:46 +00:00
parent e2305d340a
commit 64a1067567
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -225,6 +225,10 @@ sim_create_inferior (sd, abfd, argv, env)
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 */