This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/19806] Aarch64: watchpoints set on non-8-byte-aligned addresses are always missed


https://sourceware.org/bugzilla/show_bug.cgi?id=19806

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
This raises the question of how to fix this against gdbserver too, since 
target_watchpoint_addr_within_range /
aarch64_linux_watchpoint_addr_within_range
is a target method.

I'm thinking that it might be better for the target backends to do the range /
alignment checks themselves, and report a corrected stop data address to one
that gdb expects, in the target_stopped_data_address hook (both native and
gdbserver).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]