diff options
Diffstat (limited to 'sim/moxie/interp.c')
-rw-r--r-- | sim/moxie/interp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 447f52e..3aa6a3b 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -1226,10 +1226,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, sim_do_command(sd," memory region 0xE0000000,0x10000") ; /* Check for/establish the a reference program image. */ - if (sim_analyze_program (sd, - (STATE_PROG_ARGV (sd) != NULL - ? *STATE_PROG_ARGV (sd) - : NULL), abfd) != SIM_RC_OK) + if (sim_analyze_program (sd, STATE_PROG_FILE (sd), abfd) != SIM_RC_OK) { free_state (sd); return 0; |