From ccfde2a0c07136f95907a7d545cf6781273ba4a0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:20:06 -0700 Subject: convert to_supports_evaluation_of_breakpoint_conditions 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_supports_evaluation_of_breakpoint_conditions. * target.h (struct target_ops) : Use TARGET_DEFAULT_RETURN. --- gdb/target.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gdb/target.c') diff --git a/gdb/target.c b/gdb/target.c index 0178f56..64c5cd6 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -715,7 +715,8 @@ update_current_target (void) /* Do not inherit to_can_use_agent. */ /* Do not inherit to_augmented_libraries_svr4_read. */ INHERIT (to_magic, t); - INHERIT (to_supports_evaluation_of_breakpoint_conditions, t); + /* Do not inherit + to_supports_evaluation_of_breakpoint_conditions. */ INHERIT (to_can_run_breakpoint_commands, t); /* Do not inherit to_memory_map. */ /* Do not inherit to_flash_erase. */ @@ -748,9 +749,6 @@ update_current_target (void) (void (*) (struct target_ops *, ptid_t)) target_ignore); current_target.to_read_description = NULL; - de_fault (to_supports_evaluation_of_breakpoint_conditions, - (int (*) (struct target_ops *)) - return_zero); de_fault (to_can_run_breakpoint_commands, (int (*) (struct target_ops *)) return_zero); -- cgit v1.1