summaryrefslogtreecommitdiff
path: root/gdb/fork-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
commit6cf327044df9d07716cab388c038b1b0a8f17aa4 (patch)
tree5554f4d7b27594a8e64b80a9915e8d72939f19b4 /gdb/fork-child.c
parent8e8901c5c22072ecab98e3f3e121df2bf0aefc01 (diff)
downloadbinutils-gdb-6cf327044df9d07716cab388c038b1b0a8f17aa4.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/fork-child.c')
-rw-r--r--gdb/fork-child.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index c8e76838dbb..7aff110ba92 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -426,9 +426,6 @@ startup_inferior (int ntraps)
init_wait_for_inferior ();
- inferior_ignoring_leading_exec_events =
- target_reported_exec_events_per_exec_call () - 1;
-
while (1)
{
/* Make wait_for_inferior be quiet. */