forked from Imagelibrary/binutils-gdb
2005-01-18 Andrew Cagney <cagney@gnu.org>
* target.h (struct target_ops): Change return type of to_insert_fork_catchpoint, to_insert_vfork_catchpoint and to_insert_exec_catchpoint to void. (child_insert_fork_catchpoint, child_insert_vfork_catchpoint) (child_insert_exec_catchpoint): Change return type to void. * target.c (update_current_target): Update. (debug_to_insert_fork_catchpoint) (debug_to_insert_vfork_catchpoint) (debug_to_insert_exec_catchpoint): Update. * inf-child.c (inf_child_insert_fork_catchpoint) (inf_child_insert_vfork_catchpoint) (inf_child_insert_exec_catchpoint): Update. * breakpoint.c (insert_catchpoint): Update, do not throw an error. * linux-nat.c (child_insert_fork_catchpoint) (child_insert_vfork_catchpoint) (child_insert_exec_catchpoint): Update. * inftarg.c (child_insert_fork_catchpoint) (child_insert_vfork_catchpoint,) (child_insert_exec_catchpoint): Update.
This commit is contained in:
@@ -364,11 +364,11 @@ child_acknowledge_created_inferior (int pid)
|
||||
|
||||
|
||||
#if !defined(CHILD_INSERT_FORK_CATCHPOINT)
|
||||
int
|
||||
void
|
||||
child_insert_fork_catchpoint (int pid)
|
||||
{
|
||||
/* This version of Unix doesn't support notification of fork events. */
|
||||
return 0;
|
||||
/* This version of Unix doesn't support notification of fork
|
||||
events. */
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -382,11 +382,11 @@ child_remove_fork_catchpoint (int pid)
|
||||
#endif
|
||||
|
||||
#if !defined(CHILD_INSERT_VFORK_CATCHPOINT)
|
||||
int
|
||||
void
|
||||
child_insert_vfork_catchpoint (int pid)
|
||||
{
|
||||
/* This version of Unix doesn't support notification of vfork events. */
|
||||
return 0;
|
||||
/* This version of Unix doesn't support notification of vfork
|
||||
events. */
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -409,11 +409,11 @@ child_follow_fork (int follow_child)
|
||||
#endif
|
||||
|
||||
#if !defined(CHILD_INSERT_EXEC_CATCHPOINT)
|
||||
int
|
||||
void
|
||||
child_insert_exec_catchpoint (int pid)
|
||||
{
|
||||
/* This version of Unix doesn't support notification of exec events. */
|
||||
return 0;
|
||||
/* This version of Unix doesn't support notification of exec
|
||||
events. */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user