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/target.h | |
parent | 1f3c39b9e611c663b15240fb09f738b5bee12c21 (diff) | |
download | gdb-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/target.h')
-rw-r--r-- | gdb/target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 7decfd7..bf4917f 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -303,7 +303,7 @@ struct target_ops void (*to_attach) (char *, int); void (*to_post_attach) (int); void (*to_detach) (char *, int); - void (*to_disconnect) (char *, int); + void (*to_disconnect) (struct target_ops *, char *, int); void (*to_resume) (ptid_t, int, enum target_signal); ptid_t (*to_wait) (ptid_t, struct target_waitstatus *); void (*to_fetch_registers) (int); |