From 843f59ed2647d73ed7ba46885ac3820ff97fbdc5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:20:36 -0700 Subject: convert to_can_run_breakpoint_commands 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_can_run_breakpoint_commands. * 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 64c5cd6..6533e7e 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -717,7 +717,7 @@ update_current_target (void) INHERIT (to_magic, t); /* Do not inherit to_supports_evaluation_of_breakpoint_conditions. */ - INHERIT (to_can_run_breakpoint_commands, t); + /* Do not inherit to_can_run_breakpoint_commands. */ /* Do not inherit to_memory_map. */ /* Do not inherit to_flash_erase. */ /* Do not inherit to_flash_done. */ @@ -749,9 +749,6 @@ update_current_target (void) (void (*) (struct target_ops *, ptid_t)) target_ignore); current_target.to_read_description = NULL; - de_fault (to_can_run_breakpoint_commands, - (int (*) (struct target_ops *)) - return_zero); #undef de_fault -- cgit v1.1