aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-05-05 20:08:45 +0000
committerDaniel Jacobowitz <drow@false.org>2006-05-05 20:08:45 +0000
commit597320e75bbd31d67bdd1a460577a5e8b519a048 (patch)
tree4c9623cb232b4865817e6a1290d03d0bb34e3d37 /gdb/remote.c
parent1f3c39b9e611c663b15240fb09f738b5bee12c21 (diff)
downloadgdb-597320e75bbd31d67bdd1a460577a5e8b519a048.zip
gdb-597320e75bbd31d67bdd1a460577a5e8b519a048.tar.gz
gdb-597320e75bbd31d67bdd1a460577a5e8b519a048.tar.bz2
* remote.c (remote_disconnect): Add TARGET argument.
* target.c (debug_to_disconnect): Delete. (update_current_target): Do not inherit to_disconnect. (target_disconnect): Search for a target to implement to_disconnect. (setup_target_debug): Do not reference to_disconnect. * target.h (struct target_ops): Add target argument to to_disconnect.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index d1ffdb5..c6ed900 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -2187,7 +2187,7 @@ remote_detach (char *args, int from_tty)
/* Same as remote_detach, but don't send the "D" packet; just disconnect. */
static void
-remote_disconnect (char *args, int from_tty)
+remote_disconnect (struct target_ops *target, char *args, int from_tty)
{
if (args)
error (_("Argument given to \"detach\" when remotely debugging."));