aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:20:36 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:06 -0700
commit843f59ed2647d73ed7ba46885ac3820ff97fbdc5 (patch)
tree12ce415ae968cc3aad16a553cb3681ee409a0e14 /gdb/target.c
parentccfde2a0c07136f95907a7d545cf6781273ba4a0 (diff)
downloadfsf-binutils-gdb-843f59ed2647d73ed7ba46885ac3820ff97fbdc5.zip
fsf-binutils-gdb-843f59ed2647d73ed7ba46885ac3820ff97fbdc5.tar.gz
fsf-binutils-gdb-843f59ed2647d73ed7ba46885ac3820ff97fbdc5.tar.bz2
convert to_can_run_breakpoint_commands
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_can_run_breakpoint_commands. * target.h (struct target_ops) <to_can_run_breakpoint_commands>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c5
1 files changed, 1 insertions, 4 deletions
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