mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
Add target_ops argument to to_use_agent
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_use_agent>: 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.
This commit is contained in:
@ -941,7 +941,7 @@ update_current_target (void)
|
||||
(int (*) (struct target_ops *))
|
||||
return_zero);
|
||||
de_fault (to_use_agent,
|
||||
(int (*) (int))
|
||||
(int (*) (struct target_ops *, int))
|
||||
tcomplain);
|
||||
de_fault (to_can_use_agent,
|
||||
(int (*) (void))
|
||||
|
Reference in New Issue
Block a user