From: Joel Brobecker Date: Thu, 13 Nov 2008 01:26:44 +0000 (+0000) Subject: * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter X-Git-Tag: sid-snapshot-20081201~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84290f2fa20e40e8a5288b7d6236d0f4bdb22ca0;p=thirdparty%2Fbinutils-gdb.git * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter instead of the "gdbsim_ops" global. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f04adeb3f4..f586c397630 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-11-12 Joel Brobecker + + From Joel Sherrill + * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter + instead of the "gdbsim_ops" global. + 2008-11-11 Doug Evans * infcall.c (call_function_by_hand): Handle inferior exit. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 6f92ad83f07..db26c93fd4c 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -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); }