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/target.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/target.c')
-rw-r--r-- | gdb/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c index deb5425..0a52b9e 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -944,7 +944,7 @@ update_current_target (void) (int (*) (struct target_ops *, int)) tcomplain); de_fault (to_can_use_agent, - (int (*) (void)) + (int (*) (struct target_ops *)) return_zero); de_fault (to_augmented_libraries_svr4_read, (int (*) (void)) |