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/linux-nat.c | |
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/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index a6f389e..6cee9c8 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -521,31 +521,25 @@ linux_handle_extended_wait (int pid, int status, } -int +void child_insert_fork_catchpoint (int pid) { if (! linux_supports_tracefork (pid)) error ("Your system does not support fork catchpoints."); - - return 0; } -int +void child_insert_vfork_catchpoint (int pid) { if (!linux_supports_tracefork (pid)) error ("Your system does not support vfork catchpoints."); - - return 0; } -int +void child_insert_exec_catchpoint (int pid) { if (!linux_supports_tracefork (pid)) error ("Your system does not support exec catchpoints."); - - return 0; } void |