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/inf-child.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/inf-child.c')
-rw-r--r-- | gdb/inf-child.c | 2 |
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 (); } |