summaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-18 17:04:28 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-18 17:04:28 +0000
commit0af33410304a4123e9fcc85a1f60a27d121f4719 (patch)
treea9aca8bce776f51644812d60148065207a87dad2 /gdb/inf-child.c
parentb1f32d53a5d57017a6081613fc92f23034587bdf (diff)
downloadgdb-0af33410304a4123e9fcc85a1f60a27d121f4719.tar.gz
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.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r--gdb/inf-child.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c
index ebc6c6243d2..b0d9c6996f3 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -90,12 +90,11 @@ inf_child_acknowledge_created_inferior (int pid)
created inferior" operation by a debugger. */
}
-static int
+static void
inf_child_insert_fork_catchpoint (int pid)
{
/* This version of Unix doesn't support notification of fork
events. */
- return 0;
}
static int
@@ -106,12 +105,11 @@ inf_child_remove_fork_catchpoint (int pid)
return 0;
}
-static int
+static void
inf_child_insert_vfork_catchpoint (int pid)
{
/* This version of Unix doesn't support notification of vfork
events. */
- return 0;
}
static int
@@ -130,12 +128,11 @@ inf_child_follow_fork (int follow_child)
return 0;
}
-static int
+static void
inf_child_insert_exec_catchpoint (int pid)
{
/* This version of Unix doesn't support notification of exec
events. */
- return 0;
}
static int