diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/target.c b/gdb/target.c index 0726f27..edc3b97 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -801,7 +801,7 @@ update_current_target (void) (int (*) (struct target_ops *, int)) return_one); de_fault (to_remove_vfork_catchpoint, - (int (*) (int)) + (int (*) (struct target_ops *, int)) return_one); de_fault (to_insert_exec_catchpoint, (int (*) (int)) @@ -4905,11 +4905,11 @@ debug_to_insert_vfork_catchpoint (struct target_ops *self, int pid) } static int -debug_to_remove_vfork_catchpoint (int pid) +debug_to_remove_vfork_catchpoint (struct target_ops *self, int pid) { int retval; - retval = debug_target.to_remove_vfork_catchpoint (pid); + retval = debug_target.to_remove_vfork_catchpoint (&debug_target, pid); fprintf_unfiltered (gdb_stdlog, "target_remove_vfork_catchpoint (%d) = %d\n", pid, retval); |