summaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-03-15 14:55:21 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-03-15 14:55:21 +0000
commitded3cc5e821de062b623d0cca0bea85f7adff101 (patch)
treeae8a081a9c57644f56d988610636efc6fa1290eb /gdb/inf-child.c
parent73cc0963f8281351a50394710027e4cf5f475f5b (diff)
downloadgdb-ded3cc5e821de062b623d0cca0bea85f7adff101.tar.gz
Remove ignoring leading exec events code.
* fork-child.c (startup_inferior): Do not set inferior_ignoring_leading_exec_events. * inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove. (inf_child_target): Do not set to_reported_exec_events_per_exec_call. * infrun.c (inferior_ignoring_leading_exec_events): Remove. (handle_inferior_event): Remove code for ignoring leading exec events. * target.c (update_current_target): Do not inherit, or default, to_reported_exec_events_per_exec_call. (debug_to_reported_exec_events_per_exec_call): Remove. (setup_target_debug): Do not set to_reported_exec_events_per_exec_call. * target.h (target_reported_exec_events_per_exec_call): Remove. (struct target): Remove the to_reported_exec_events_per_exec_call field.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r--gdb/inf-child.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c
index ae118717f08..8da25f4e1f6 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -145,14 +145,6 @@ inf_child_remove_exec_catchpoint (int pid)
}
static int
-inf_child_reported_exec_events_per_exec_call (void)
-{
- /* This version of Unix doesn't support notification of exec
- events. */
- return 1;
-}
-
-static int
inf_child_can_run (void)
{
return 1;
@@ -195,8 +187,6 @@ inf_child_target (void)
t->to_follow_fork = inf_child_follow_fork;
t->to_insert_exec_catchpoint = inf_child_insert_exec_catchpoint;
t->to_remove_exec_catchpoint = inf_child_remove_exec_catchpoint;
- t->to_reported_exec_events_per_exec_call =
- inf_child_reported_exec_events_per_exec_call;
t->to_can_run = inf_child_can_run;
t->to_pid_to_exec_file = inf_child_pid_to_exec_file;
t->to_stratum = process_stratum;