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

@ -630,7 +630,7 @@ update_current_target (void)
/* Do not inherit to_load. */
/* Do no inherit to_create_inferior. */
/* Do not inherit to_post_startup_inferior. */
INHERIT (to_insert_fork_catchpoint, t);
/* Do not inherit to_insert_fork_catchpoint. */
INHERIT (to_remove_fork_catchpoint, t);
INHERIT (to_insert_vfork_catchpoint, t);
INHERIT (to_remove_vfork_catchpoint, t);
@ -734,9 +734,6 @@ update_current_target (void)
(int (*) (CORE_ADDR, gdb_byte *, int, int,
struct mem_attrib *, struct target_ops *))
nomemory);
de_fault (to_insert_fork_catchpoint,
(int (*) (struct target_ops *, int))
return_one);
de_fault (to_remove_fork_catchpoint,
(int (*) (struct target_ops *, int))
return_one);