diff options
Diffstat (limited to 'sim/ft32')
-rw-r--r-- | sim/ft32/interp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c index 7da6ecd2937..a1cc9abe911 100644 --- a/sim/ft32/interp.c +++ b/sim/ft32/interp.c @@ -842,10 +842,7 @@ sim_open (SIM_OPEN_KIND kind, } /* Check for/establish the 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; |