diff options
author | 2018-08-31 18:47:12 +0100 | |
---|---|---|
committer | 2018-08-31 18:47:12 +0100 | |
commit | 7eb65fafed7b50511f52664e98e22b20eb697197 (patch) | |
tree | 0faa8b7571f1eae5fda52fcbe174dbc5e92e38f4 /gdb/target.h | |
parent | gas/elf/section14.d: Change skip to xfail (diff) | |
download | binutils-gdb-7eb65fafed7b50511f52664e98e22b20eb697197.tar.gz binutils-gdb-7eb65fafed7b50511f52664e98e22b20eb697197.tar.bz2 binutils-gdb-7eb65fafed7b50511f52664e98e22b20eb697197.zip |
Eliminate target_have_continuable_watchpoint
target_have_continuable_watchpoint isn't used anywhere so remove it.
The property isn't necessary because checking for "continuable" is the
same as checking for "!steppable && !non-steppable".
gdb/ChangeLog:
2018-08-31 Pedro Alves <palves@redhat.com>
* nto-procfs.c (nto_procfs_target::have_continuable_watchpoint):
Delete.
* s390-linux-nat.c
(s390_linux_nat_target::have_continuable_watchpoint): Delete.
* target.h (target_ops::have_continuable_watchpoint): Delete.
(target_have_continuable_watchpoint): Delete.
* x86-nat.h (x86_nat_target::have_continuable_watchpoint): Delete.
* target-delegates.c: Regenerate.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/target.h b/gdb/target.h index 39aa8c3c730..b29d34b8a65 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -552,8 +552,6 @@ struct target_ops TARGET_DEFAULT_RETURN (false); virtual int have_steppable_watchpoint () TARGET_DEFAULT_RETURN (false); - virtual bool have_continuable_watchpoint () - TARGET_DEFAULT_RETURN (false); virtual bool stopped_data_address (CORE_ADDR *) TARGET_DEFAULT_RETURN (false); virtual bool watchpoint_addr_within_range (CORE_ADDR, CORE_ADDR, int) @@ -1933,11 +1931,6 @@ extern struct thread_info *target_thread_handle_to_thread_info #define target_have_steppable_watchpoint \ (current_top_target ()->have_steppable_watchpoint ()) -/* Non-zero if we have continuable watchpoints */ - -#define target_have_continuable_watchpoint \ - (current_top_target ()->have_continuable_watchpoint ()) - /* Provide defaults for hardware watchpoint functions. */ /* If the *_hw_beakpoint functions have not been defined |