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:
parent
e2305d340a
commit
64a1067567
@ -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.
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user