aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-11-14 09:29:51 -0700
committerTom Tromey <tom@tromey.com>2018-11-18 09:30:55 -0700
commitc2a6c5da37c0135acdb859ca819870980db69b77 (patch)
tree962fd03e2669ca5d3ec6a9b27dfec345d43fddee /gdb/target.h
parentad6d89178df984c70c39f31eca149d8e5806c848 (diff)
downloadgdb-c2a6c5da37c0135acdb859ca819870980db69b77.zip
gdb-c2a6c5da37c0135acdb859ca819870980db69b77.tar.gz
gdb-c2a6c5da37c0135acdb859ca819870980db69b77.tar.bz2
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 <tom@tromey.com> PR build/23814: * target-delegates.c: Rebuild. * ia64-linux-nat.c (class ia64_linux_nat_target) <have_steppable_watchpoint>: 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) <read_description>: Don't declare. * target.h (struct target_ops) <have_steppable_watchpoint>: Return bool.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
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);