From 2c152180b36b20e14c4562a127d5d7fb8789d175 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:45:10 -0700 Subject: Add target_ops argument to to_use_agent 2014-02-19 Tom Tromey * target.h (struct target_ops) : 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. --- gdb/inf-child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/inf-child.c') diff --git a/gdb/inf-child.c b/gdb/inf-child.c index 054e279..8c5d9e6 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -372,7 +372,7 @@ inf_child_fileio_readlink (struct target_ops *self, } static int -inf_child_use_agent (int use) +inf_child_use_agent (struct target_ops *self, int use) { if (agent_loaded_p ()) { -- cgit v1.1