Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the condition for watchpoint matching on arm64 #3742

Merged
merged 1 commit into from
May 1, 2024

Conversation

pcc
Copy link
Contributor

@pcc pcc commented Apr 30, 2024

The language from the ARM manual previously quoted in the comment in fact only pertains to Memory Copy and Memory Set instructions. According to the section describing the behavior for "other instructions", the recorded address can be > the watchpoint address. Therefore, remove the check that the watchpoint address >= the recorded address, and update the comment for accuracy.

Fixes #3736

The language from the ARM manual previously quoted in the comment in
fact only pertains to Memory Copy and Memory Set instructions. According
to the section describing the behavior for "other instructions", the
recorded address can be > the watchpoint address. Therefore, remove the
check that the watchpoint address >= the recorded address, and update
the comment for accuracy.

Fixes rr-debugger#3736
@rocallahan rocallahan merged commit 4ed1b81 into rr-debugger:master May 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rr hangs if certain unaligned watchpoints are hit on arm64
2 participants