aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:45:10 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:40 -0700
commit2c152180b36b20e14c4562a127d5d7fb8789d175 (patch)
treed5bddb8c0ada534615d627e616a366d745bc6dd1 /gdb/inf-child.c
parenta893e81f187e3ffd69a90bd8181571628f74794e (diff)
downloadgdb-2c152180b36b20e14c4562a127d5d7fb8789d175.zip
gdb-2c152180b36b20e14c4562a127d5d7fb8789d175.tar.gz
gdb-2c152180b36b20e14c4562a127d5d7fb8789d175.tar.bz2
Add target_ops argument to to_use_agent
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_use_agent>: Add argument. (target_use_agent): Add argument. * target.c (update_current_target): Update. * remote.c (remote_use_agent): Add 'self' argument. * inf-child.c (inf_child_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 054e279..8c5d9e6 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -372,7 +372,7 @@ inf_child_fileio_readlink (struct target_ops *self,
}
static int
-inf_child_use_agent (int use)
+inf_child_use_agent (struct target_ops *self, int use)
{
if (agent_loaded_p ())
{