aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-procfs.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/nto-procfs.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/nto-procfs.c')
-rw-r--r--gdb/nto-procfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index 0a7ed55..e86511c 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -57,7 +57,7 @@ static procfs_run run;
static void procfs_open (char *, int);
-static int procfs_can_run (void);
+static int procfs_can_run (struct target_ops *self);
static int procfs_xfer_memory (CORE_ADDR, gdb_byte *, int, int,
struct mem_attrib *attrib,
@@ -609,7 +609,7 @@ procfs_files_info (struct target_ops *ignore)
/* Mark our target-struct as eligible for stray "run" and "attach"
commands. */
static int
-procfs_can_run (void)
+procfs_can_run (struct target_ops *self)
{
return 1;
}