aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:33:06 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:48 -0700
commitff214e679c60368c23e4052c9efcc7457a3a2c43 (patch)
treea1913c392a51fa3b7d7d71b8be47044d28e5cdc0 /gdb/linux-nat.c
parent758e29d2cd0242b72a05515a701cfdcb73794864 (diff)
downloadgdb-ff214e679c60368c23e4052c9efcc7457a3a2c43.zip
gdb-ff214e679c60368c23e4052c9efcc7457a3a2c43.tar.gz
gdb-ff214e679c60368c23e4052c9efcc7457a3a2c43.tar.bz2
Add target_ops argument to to_set_syscall_catchpoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add argument. (target_set_syscall_catchpoint): Add argument. * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' argument. * target.c (update_current_target): Update.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index c158f32..aaf55bf 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -732,7 +732,8 @@ linux_child_remove_exec_catchpoint (struct target_ops *self, int pid)
}
static int
-linux_child_set_syscall_catchpoint (int pid, int needed, int any_count,
+linux_child_set_syscall_catchpoint (struct target_ops *self,
+ int pid, int needed, int any_count,
int table_size, int *table)
{
if (!linux_supports_tracesysgood ())