diff options
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h index add3b0c..54cc085 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -499,7 +499,7 @@ struct target_ops char *, char *, char **, int); void (*to_post_startup_inferior) (struct target_ops *, ptid_t); int (*to_insert_fork_catchpoint) (struct target_ops *, int); - int (*to_remove_fork_catchpoint) (int); + int (*to_remove_fork_catchpoint) (struct target_ops *, int); int (*to_insert_vfork_catchpoint) (int); int (*to_remove_vfork_catchpoint) (int); int (*to_follow_fork) (struct target_ops *, int, int); @@ -1309,7 +1309,7 @@ void target_create_inferior (char *exec_file, char *args, (*current_target.to_insert_fork_catchpoint) (¤t_target, pid) #define target_remove_fork_catchpoint(pid) \ - (*current_target.to_remove_fork_catchpoint) (pid) + (*current_target.to_remove_fork_catchpoint) (¤t_target, pid) #define target_insert_vfork_catchpoint(pid) \ (*current_target.to_insert_vfork_catchpoint) (pid) |