From c2a6c5da37c0135acdb859ca819870980db69b77 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 14 Nov 2018 09:29:51 -0700 Subject: Fix ia64-linux-nat.c PR build/23814 points out that ia64-linux-nat.c will not compile any more. This patch fixes the problem. Thanks to Andreas Schwab for trying the patch. gdb/ChangeLog 2018-11-18 Tom Tromey PR build/23814: * target-delegates.c: Rebuild. * ia64-linux-nat.c (class ia64_linux_nat_target) : Use override. Return true, not 1. (ia64_linux_nat_target::can_use_hw_breakpoint): Rename. Remove "self" argument. (ia64_linux_nat_target::low_new_thread): Rename. (class ia64_linux_nat_target) : Don't declare. * target.h (struct target_ops) : Return bool. --- gdb/target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index 6f4b73b..4731e3b 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -554,7 +554,7 @@ struct target_ops TARGET_DEFAULT_RETURN (1); virtual bool stopped_by_watchpoint () TARGET_DEFAULT_RETURN (false); - virtual int have_steppable_watchpoint () + virtual bool have_steppable_watchpoint () TARGET_DEFAULT_RETURN (false); virtual bool stopped_data_address (CORE_ADDR *) TARGET_DEFAULT_RETURN (false); -- cgit v1.1