Change find_pcs_for_symtab_line to return a std::vector
[binutils-gdb.git] / sim / frv / reset.c
index dd754f823aa758e3ac48624dc0f31bfa5f22276b..93c997ab50fb01a012aed4b54c7ee4da779384d7 100644 (file)
@@ -1,6 +1,5 @@
 /* frv simulator support code
-   Copyright (C) 1999, 2000, 2001, 2003, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 1999-2017 Free Software Foundation, Inc.
    Contributed by Red Hat.
 
 This file is part of the GNU simulators.
@@ -106,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.  */