aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:32:41 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:47 -0700
commitba025e51ae36df9d804c64226292c8b863aa0a99 (patch)
treed7e24f31aae466dc059da395533ce2414120447e /gdb/linux-nat.c
parente98cf0cd4f099c07016d50b136713559d21755b2 (diff)
downloadgdb-ba025e51ae36df9d804c64226292c8b863aa0a99.zip
gdb-ba025e51ae36df9d804c64226292c8b863aa0a99.tar.gz
gdb-ba025e51ae36df9d804c64226292c8b863aa0a99.tar.bz2
Add target_ops argument to to_insert_exec_catchpoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add argument. (target_insert_exec_catchpoint): Add argument. * target.c (debug_to_insert_exec_catchpoint): Add argument. (update_current_target): Update. * linux-nat.c (linux_child_insert_exec_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 fa862f6..1a37ec5 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -720,7 +720,7 @@ linux_child_remove_vfork_catchpoint (struct target_ops *self, int pid)
}
static int
-linux_child_insert_exec_catchpoint (int pid)
+linux_child_insert_exec_catchpoint (struct target_ops *self, int pid)
{
return !linux_supports_tracefork ();
}