From da82bd6b65af8f3cec02621435331983b27d93a0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:33:31 -0700 Subject: Add target_ops argument to to_can_run 2014-02-19 Tom Tromey * windows-nat.c (windows_can_run): Add 'self' argument. * target.h (struct target_ops) : 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. --- gdb/windows-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/windows-nat.c') 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; } -- cgit v1.1