aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:31:52 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:44 -0700
commita863b201d73bc238cbcfdbb11eac0a9ba2489a55 (patch)
treee22582ca2ca7a65c0993d6a12ea997bdf4e1748c /gdb/linux-nat.c
parent2e97a79e221eed05a015a9b37595edd09b08eb36 (diff)
downloadgdb-a863b201d73bc238cbcfdbb11eac0a9ba2489a55.zip
gdb-a863b201d73bc238cbcfdbb11eac0a9ba2489a55.tar.gz
gdb-a863b201d73bc238cbcfdbb11eac0a9ba2489a55.tar.bz2
Add target_ops argument to to_insert_fork_catchpoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add argument. (target_insert_fork_catchpoint): Add argument. * target.c (debug_to_insert_fork_catchpoint): Add argument. (update_current_target): Update. * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' argument.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 0728939..95b003f 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -696,7 +696,7 @@ holding the child stopped. Try \"set detach-on-fork\" or \
static int
-linux_child_insert_fork_catchpoint (int pid)
+linux_child_insert_fork_catchpoint (struct target_ops *self, int pid)
{
return !linux_supports_tracefork ();
}