diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-15 14:55:21 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-15 14:55:21 +0000 |
commit | 6cf327044df9d07716cab388c038b1b0a8f17aa4 (patch) | |
tree | 5554f4d7b27594a8e64b80a9915e8d72939f19b4 /gdb/target.h | |
parent | 8e8901c5c22072ecab98e3f3e121df2bf0aefc01 (diff) | |
download | gdb-6cf327044df9d07716cab388c038b1b0a8f17aa4.zip gdb-6cf327044df9d07716cab388c038b1b0a8f17aa4.tar.gz gdb-6cf327044df9d07716cab388c038b1b0a8f17aa4.tar.bz2 |
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/target.h')
-rw-r--r-- | gdb/target.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/target.h b/gdb/target.h index 9a34244..c3da3d5 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -388,7 +388,6 @@ struct target_ops int (*to_follow_fork) (struct target_ops *, int); void (*to_insert_exec_catchpoint) (int); int (*to_remove_exec_catchpoint) (int); - int (*to_reported_exec_events_per_exec_call) (void); int (*to_has_exited) (int, int, int *); void (*to_mourn_inferior) (void); int (*to_can_run) (void); @@ -841,13 +840,6 @@ int target_follow_fork (int follow_child); #define target_remove_exec_catchpoint(pid) \ (*current_target.to_remove_exec_catchpoint) (pid) -/* Returns the number of exec events that are reported when a process - invokes a flavor of the exec() system call on this target, if exec - events are being reported. */ - -#define target_reported_exec_events_per_exec_call() \ - (*current_target.to_reported_exec_events_per_exec_call) () - /* Returns TRUE if PID has exited. And, also sets EXIT_STATUS to the exit code of PID, if any. */ |