diff options
Diffstat (limited to 'sim/pru/interp.c')
-rw-r--r-- | sim/pru/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/pru/interp.c b/sim/pru/interp.c index 250a32a..0e1874c 100644 --- a/sim/pru/interp.c +++ b/sim/pru/interp.c @@ -774,7 +774,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, current_target_byte_order = BFD_ENDIAN_LITTLE; /* The cpu data is kept in a separately allocated chunk of memory. */ - if (sim_cpu_alloc_all_extra (sd, 1, sizeof (struct pru_regset)) != SIM_RC_OK) + if (sim_cpu_alloc_all_extra (sd, 0, sizeof (struct pru_regset)) != SIM_RC_OK) { free_state (sd); return 0; |