aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-05-03 11:31:38 +0100
committerPedro Alves <palves@redhat.com>2018-05-03 11:31:38 +0100
commitbd732259bd3bec9494a2f1f39f74255dd4a9be85 (patch)
tree7a3ae6f3ec46a6a7b904bad742569663d29ecbc4 /ld
parent7c8be091a26540a834797715434820112cec838e (diff)
downloadgdb-bd732259bd3bec9494a2f1f39f74255dd4a9be85.zip
gdb-bd732259bd3bec9494a2f1f39f74255dd4a9be85.tar.gz
gdb-bd732259bd3bec9494a2f1f39f74255dd4a9be85.tar.bz2
Fix s390 GNU/Linux build
- Fixes this compile error: ../../src/gdb/s390-linux-nat.c:125:8: error: ‘virtual bool s390_linux_nat_target::have_continuable_watchpoint()’ can be marked override [-Werror=suggest-override] bool have_continuable_watchpoint () { return 1; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ s390 never implemented that hook. The declaration of the method got there simply via copy/paste from some other target. Return 'true' instead of '1' while at it. - Fixes this link error: s390-linux-nat.o:(.rodata._ZTV21s390_linux_nat_target[_ZTV21s390_linux_nat_target]+0x120): undefined reference to `s390_linux_nat_target::watchpoint_addr_within_range(unsigned long, unsigned long, int)' gdb/ChangeLog: 2018-05-03 Pedro Alves <palves@redhat.com> * s390-linux-nat.c (s390_linux_nat_target::have_continuable_watchpoint): Mark with override. Write 'true' instead of '1'. (s390_linux_nat_target::watchpoint_addr_within_range): Remove declaration.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions