diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-18 17:04:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-18 17:04:28 +0000 |
commit | fa113d1a304c4653f02494b7b7c56ebfc3891bf5 (patch) | |
tree | ba931c581554b9b4a104224e28296d6cb90bc7cb /gdb/target.h | |
parent | 9ee907e0a04fd062374ea23e64664040aed425c9 (diff) | |
download | gdb-fa113d1a304c4653f02494b7b7c56ebfc3891bf5.zip gdb-fa113d1a304c4653f02494b7b7c56ebfc3891bf5.tar.gz gdb-fa113d1a304c4653f02494b7b7c56ebfc3891bf5.tar.bz2 |
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/target.h')
-rw-r--r-- | gdb/target.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/target.h b/gdb/target.h index a7016bd..9665ade 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -358,12 +358,12 @@ struct target_ops void (*to_create_inferior) (char *, char *, char **, int); void (*to_post_startup_inferior) (ptid_t); void (*to_acknowledge_created_inferior) (int); - int (*to_insert_fork_catchpoint) (int); + void (*to_insert_fork_catchpoint) (int); int (*to_remove_fork_catchpoint) (int); - int (*to_insert_vfork_catchpoint) (int); + void (*to_insert_vfork_catchpoint) (int); int (*to_remove_vfork_catchpoint) (int); int (*to_follow_fork) (int); - int (*to_insert_exec_catchpoint) (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 *); @@ -571,11 +571,11 @@ extern void child_post_startup_inferior (ptid_t); extern void child_acknowledge_created_inferior (int); -extern int child_insert_fork_catchpoint (int); +extern void child_insert_fork_catchpoint (int); extern int child_remove_fork_catchpoint (int); -extern int child_insert_vfork_catchpoint (int); +extern void child_insert_vfork_catchpoint (int); extern int child_remove_vfork_catchpoint (int); @@ -583,7 +583,7 @@ extern void child_acknowledge_created_inferior (int); extern int child_follow_fork (int); -extern int child_insert_exec_catchpoint (int); +extern void child_insert_exec_catchpoint (int); extern int child_remove_exec_catchpoint (int); |