* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter

instead of the "gdbsim_ops" global.
This commit is contained in:
Joel Brobecker 2008-11-13 01:26:44 +00:00
parent 2a8a6bf5ce
commit 84290f2fa2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-11-12 Joel Brobecker <brobecker@adacore.com>
From Joel Sherrill <joel.sherrill@oarcorp.com>
* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
instead of the "gdbsim_ops" global.
2008-11-11 Doug Evans <dje@google.com>
* infcall.c (call_function_by_hand): Handle inferior exit.

View file

@ -829,7 +829,7 @@ gdbsim_mourn_inferior (struct target_ops *target)
printf_filtered ("gdbsim_mourn_inferior:\n");
remove_breakpoints ();
target_mark_exited (&gdbsim_ops);
target_mark_exited (target);
generic_mourn_inferior ();
delete_thread_silent (remote_sim_ptid);
}