aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-11-13 01:26:44 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-11-13 01:26:44 +0000
commit84290f2fa20e40e8a5288b7d6236d0f4bdb22ca0 (patch)
tree2ebc986091a5c194c706b3d4f6b3740fe74e3abc /gdb/remote-sim.c
parent2a8a6bf5cefda15f0e9b437c151c695cd0b25537 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
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);
}