aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.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/remote.c
parent2c152180b36b20e14c4562a127d5d7fb8789d175 (diff)
downloadgdb-fe38f8971f81ab42937d4c22f85bba5d8e48ada9.zip
gdb-fe38f8971f81ab42937d4c22f85bba5d8e48ada9.tar.gz
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/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 a9b5950..03fd1c0 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -11214,7 +11214,7 @@ remote_use_agent (struct target_ops *self, int use)
}
static int
-remote_can_use_agent (void)
+remote_can_use_agent (struct target_ops *self)
{
return (remote_protocol_packets[PACKET_QAgent].support != PACKET_DISABLE);
}