convert to_insert_fork_catchpoint

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_insert_fork_catchpoint.
	* target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
	TARGET_DEFAULT_RETURN.
This commit is contained in:
Tom Tromey
2013-12-18 10:33:43 -07:00
parent 340ba4bf67
commit 5958ebeb13
4 changed files with 27 additions and 5 deletions

View File

@ -519,7 +519,8 @@ struct target_ops
char *, char *, char **, int);
void (*to_post_startup_inferior) (struct target_ops *, ptid_t)
TARGET_DEFAULT_IGNORE ();
int (*to_insert_fork_catchpoint) (struct target_ops *, int);
int (*to_insert_fork_catchpoint) (struct target_ops *, int)
TARGET_DEFAULT_RETURN (1);
int (*to_remove_fork_catchpoint) (struct target_ops *, int);
int (*to_insert_vfork_catchpoint) (struct target_ops *, int);
int (*to_remove_vfork_catchpoint) (struct target_ops *, int);