From 3ecc7da0cbf59dd2d731f14917d9c71fb8a58676 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:32:17 -0700 Subject: Add target_ops argument to to_insert_vfork_catchpoint 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. (target_insert_vfork_catchpoint): Add argument. * target.c (debug_to_insert_vfork_catchpoint): Add argument. (update_current_target): Update. * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' argument. --- gdb/linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/linux-nat.c') diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index d4f6bf4..e5144a7 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -708,7 +708,7 @@ linux_child_remove_fork_catchpoint (struct target_ops *self, int pid) } static int -linux_child_insert_vfork_catchpoint (int pid) +linux_child_insert_vfork_catchpoint (struct target_ops *self, int pid) { return !linux_supports_tracefork (); } -- cgit v1.1