Discussion:
[Bug tdep/22389] New: aarch64: watchpoints are not merged regression
jan.kratochvil at redhat dot com
2017-11-02 21:16:50 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=22389

Bug ID: 22389
Summary: aarch64: watchpoints are not merged regression
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: tdep
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
Target Milestone: ---

A tracker only.

As discussed in:
Re: ping#2: [patch] aarch64: PR 19806: watchpoints: false negatives + PR
20207 contiguous ones
https://sourceware.org/ml/gdb-patches/2017-10/msg00878.html

Formerly GDB did merge all watchpoints happening inside an 1/2/4/8 byte aligned
region to 8-byte boundary and then reused the same hardware watchpoint register
as they became the same.

New GDB does not merge them as it can properly prevent false positives (or
formerly false negatives). But then it is now using separate hardware
watchpoint register for each different watchpoint - despite GDB could merge
adjacent watchpoints into a single register (without any false
positives/negatives side effects).
--
You are receiving this mail because:
You are on the CC list for the bug.
jan.kratochvil at redhat dot com
2017-11-02 21:17:41 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=22389

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target| |aarch64-linux
CC| |jan.kratochvil at redhat dot com
Host| |aarch64-linux
Depends on| |19806


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=19806
[Bug 19806] Aarch64: watchpoints set on non-8-byte-aligned addresses are always
missed
--
You are receiving this mail because:
You are on the CC list for the bug.
jan.kratochvil at redhat dot com
2018-05-04 20:31:38 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=22389
Bug 22389 depends on bug 19806, which changed state.

Bug 19806 Summary: Aarch64: watchpoints set on non-8-byte-aligned addresses are always missed
https://sourceware.org/bugzilla/show_bug.cgi?id=19806

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...