diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:45:22 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:41 -0700 |
commit | fe38f8971f81ab42937d4c22f85bba5d8e48ada9 (patch) | |
tree | eed91ca7efda55cefb3824f3f488ea80ab976a4c /gdb/remote.c | |
parent | 2c152180b36b20e14c4562a127d5d7fb8789d175 (diff) | |
download | gdb-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.c | 2 |
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); } |