mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
convert to_attach
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (init_dummy_target): Don't initialize to_attach. (target_attach): Unconditionally delegate. * target.h (struct target_ops) <to_attach>: Use TARGET_DEFAULT_FUNC.
This commit is contained in:
@ -403,7 +403,8 @@ struct target_ops
|
||||
to xfree everything (including the "struct target_ops"). */
|
||||
void (*to_xclose) (struct target_ops *targ);
|
||||
void (*to_close) (struct target_ops *);
|
||||
void (*to_attach) (struct target_ops *ops, char *, int);
|
||||
void (*to_attach) (struct target_ops *ops, char *, int)
|
||||
TARGET_DEFAULT_FUNC (find_default_attach);
|
||||
void (*to_post_attach) (struct target_ops *, int);
|
||||
void (*to_detach) (struct target_ops *ops, const char *, int)
|
||||
TARGET_DEFAULT_IGNORE ();
|
||||
|
Reference in New Issue
Block a user