forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user