diff options
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r-- | sim/arm/wrapper.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 003dec6..8fca85d 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -205,13 +205,11 @@ sim_create_inferior (sd, abfd, argv, env) else ARMul_SetPC (state, 0); /* ??? */ -#if 1 /* JGS */ /* We explicitly select a processor capable of supporting the ARM - 32bit mode, and then we force the simulated CPU into the 32bit - User mode: */ + 32bit mode. JGS */ ARMul_SelectProcessor (state, ARM600); + /* And then we force the simulated CPU into the 32bit User mode. */ ARMul_SetCPSR (state, USER32MODE); -#endif if (argv != NULL) { @@ -359,7 +357,7 @@ sim_open (kind, ptr, abfd, argv) { sim_kind = kind; if (myname) free (myname); - myname = xstrdup (argv[0]); + myname = (char *) xstrdup (argv[0]); sim_callback = ptr; /* Decide upon the endian-ness of the processor. |