sim: delete dead current_state globals
[deliverable/binutils-gdb.git] / sim / frv / reset.c
index 0bc9dd98063942da654002c72e957011c326e0ef..6f973b5a228a05cf32f94448540bdc1ee44e27c0 100644 (file)
@@ -105,7 +105,7 @@ frv_term (SIM_DESC sd)
      then turn it off again.  This is the only place we can currently gain
      control to do this.  */
   if (frv_interrupt_state.timer.enabled && ! frv_save_profile_model_p)
-    sim_profile_set_option (current_state, "-model", PROFILE_MODEL_IDX, "0");
+    sim_profile_set_option (sd, "-model", PROFILE_MODEL_IDX, "0");
 }
 
 /* Perform a power on reset.  */
This page took 0.024943 seconds and 4 git commands to generate.