aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.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/remote.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/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index f92a658..a9b5950 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -11192,7 +11192,7 @@ remote_set_trace_notes (struct target_ops *self,
}
static int
-remote_use_agent (int use)
+remote_use_agent (struct target_ops *self, int use)
{
if (remote_protocol_packets[PACKET_QAgent].support != PACKET_DISABLE)
{