diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:20:06 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:05 -0700 |
commit | ccfde2a0c07136f95907a7d545cf6781273ba4a0 (patch) | |
tree | 72d8f167d3d04d539b458b0294104482e6fcd7b4 /gdb/target.c | |
parent | 0de91722c6021504af3a1cc06c59d1961b2cc585 (diff) | |
download | gdb-ccfde2a0c07136f95907a7d545cf6781273ba4a0.zip gdb-ccfde2a0c07136f95907a7d545cf6781273ba4a0.tar.gz gdb-ccfde2a0c07136f95907a7d545cf6781273ba4a0.tar.bz2 |
convert to_supports_evaluation_of_breakpoint_conditions
2014-02-19 Tom Tromey <tromey@redhat.com>
* 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)
<to_supports_evaluation_of_breakpoint_conditions>: Use
TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 6 |
1 files changed, 2 insertions, 4 deletions
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); |