aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.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/windows-nat.c
parentd796e1d62f3cf00c48bf8e88d3f4e83848080525 (diff)
downloadgdb-da82bd6b65af8f3cec02621435331983b27d93a0.zip
gdb-da82bd6b65af8f3cec02621435331983b27d93a0.tar.gz
gdb-da82bd6b65af8f3cec02621435331983b27d93a0.tar.bz2
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/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 8dcc410..9c1fdb0 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2475,7 +2475,7 @@ windows_prepare_to_store (struct target_ops *self, struct regcache *regcache)
}
static int
-windows_can_run (void)
+windows_can_run (struct target_ops *self)
{
return 1;
}