From 9a7d8b4812687f9fed3e495024b166f04af44def Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:19:04 -0700 Subject: convert to_can_use_agent 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_can_use_agent. * target.h (struct target_ops) : Use TARGET_DEFAULT_RETURN. --- gdb/target.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/target.c') diff --git a/gdb/target.c b/gdb/target.c index a11cc91..b874ce0 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -712,7 +712,7 @@ update_current_target (void) /* Do not inherit to_static_tracepoint_markers_by_strid. */ /* Do not inherit to_traceframe_info. */ /* Do not inherit to_use_agent. */ - INHERIT (to_can_use_agent, t); + /* Do not inherit to_can_use_agent. */ INHERIT (to_augmented_libraries_svr4_read, t); INHERIT (to_magic, t); INHERIT (to_supports_evaluation_of_breakpoint_conditions, t); @@ -754,9 +754,6 @@ update_current_target (void) de_fault (to_can_run_breakpoint_commands, (int (*) (struct target_ops *)) return_zero); - de_fault (to_can_use_agent, - (int (*) (struct target_ops *)) - return_zero); de_fault (to_augmented_libraries_svr4_read, (int (*) (struct target_ops *)) return_zero); -- cgit v1.1