summaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:33:31 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:50 -0700
commitda82bd6b65af8f3cec02621435331983b27d93a0 (patch)
treefa40610d2bee1e86524890eeddcb480a4951266c /gdb/inf-child.c
parentd796e1d62f3cf00c48bf8e88d3f4e83848080525 (diff)
Add target_ops argument to to_can_run
2014-02-19 Tom Tromey <tromey@redhat.com> * windows-nat.c (windows_can_run): Add 'self' argument. * target.h (struct target_ops) <to_can_run>: Add argument. (target_can_run): Add argument. * target.c (debug_to_can_run): Add argument. (update_current_target): Update. * nto-procfs.c (procfs_can_run): Add 'self' argument. * inf-child.c (inf_child_can_run): Add 'self' argument. * go32-nat.c (go32_can_run): Add 'self' argument.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r--gdb/inf-child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c
index 7726470912..37fac4b412 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -128,7 +128,7 @@ inf_child_follow_fork (struct target_ops *ops, int follow_child,
}
static int
-inf_child_can_run (void)
+inf_child_can_run (struct target_ops *self)
{
return 1;
}