aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:45:22 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:41 -0700
commitfe38f8971f81ab42937d4c22f85bba5d8e48ada9 (patch)
treeeed91ca7efda55cefb3824f3f488ea80ab976a4c /gdb/inf-child.c
parent2c152180b36b20e14c4562a127d5d7fb8789d175 (diff)
downloadfsf-binutils-gdb-fe38f8971f81ab42937d4c22f85bba5d8e48ada9.zip
fsf-binutils-gdb-fe38f8971f81ab42937d4c22f85bba5d8e48ada9.tar.gz
fsf-binutils-gdb-fe38f8971f81ab42937d4c22f85bba5d8e48ada9.tar.bz2
Add target_ops argument to to_can_use_agent
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_can_use_agent>: Add argument. (target_can_use_agent): Add argument. * target.c (update_current_target): Update. * remote.c (remote_can_use_agent): Add 'self' argument. * inf-child.c (inf_child_can_use_agent): 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 8c5d9e6..fd03a9f 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -384,7 +384,7 @@ inf_child_use_agent (struct target_ops *self, int use)
}
static int
-inf_child_can_use_agent (void)
+inf_child_can_use_agent (struct target_ops *self)
{
return agent_loaded_p ();
}