diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-11-13 01:26:44 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-11-13 01:26:44 +0000 |
commit | 84290f2fa20e40e8a5288b7d6236d0f4bdb22ca0 (patch) | |
tree | 2ebc986091a5c194c706b3d4f6b3740fe74e3abc | |
parent | 2a8a6bf5cefda15f0e9b437c151c695cd0b25537 (diff) | |
download | gdb-84290f2fa20e40e8a5288b7d6236d0f4bdb22ca0.zip gdb-84290f2fa20e40e8a5288b7d6236d0f4bdb22ca0.tar.gz gdb-84290f2fa20e40e8a5288b7d6236d0f4bdb22ca0.tar.bz2 |
* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
instead of the "gdbsim_ops" global.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote-sim.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f04ade..f586c39 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 6f92ad8..db26c93 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); } |