From 7eb65fafed7b50511f52664e98e22b20eb697197 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 31 Aug 2018 18:47:12 +0100 Subject: 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 * 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. --- gdb/target.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gdb/target.h') 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 -- cgit v1.2.1