forked from Imagelibrary/binutils-gdb
Add target_ops argument to to_insert_vfork_catchpoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_insert_vfork_catchpoint>: 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.
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user