convert to_can_run
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_can_run. (find_default_run_target): Check against delegate_can_run. * target.h (struct target_ops) <to_can_run>: Use TARGET_DEFAULT_RETURN.
This commit is contained in:
parent
86a0854a69
commit
e88ef65ce5
4 changed files with 29 additions and 6 deletions
|
@ -547,7 +547,8 @@ struct target_ops
|
|||
TARGET_DEFAULT_RETURN (0);
|
||||
void (*to_mourn_inferior) (struct target_ops *)
|
||||
TARGET_DEFAULT_FUNC (default_mourn_inferior);
|
||||
int (*to_can_run) (struct target_ops *);
|
||||
int (*to_can_run) (struct target_ops *)
|
||||
TARGET_DEFAULT_RETURN (0);
|
||||
|
||||
/* Documentation of this routine is provided with the corresponding
|
||||
target_* macro. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue