diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-05 20:08:45 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-05 20:08:45 +0000 |
commit | 597320e75bbd31d67bdd1a460577a5e8b519a048 (patch) | |
tree | 4c9623cb232b4865817e6a1290d03d0bb34e3d37 /gdb/remote.c | |
parent | 1f3c39b9e611c663b15240fb09f738b5bee12c21 (diff) | |
download | fsf-binutils-gdb-597320e75bbd31d67bdd1a460577a5e8b519a048.zip fsf-binutils-gdb-597320e75bbd31d67bdd1a460577a5e8b519a048.tar.gz fsf-binutils-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.c | 2 |
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.")); |