Bug 1221877

Summary: aarch64 read/access watchpoint not triggered with access > 8 bytes, and gdb hangs
Product: [openSUSE] openSUSE Distribution Reporter: Tom de Vries <tdevries>
Component: DevelopmentAssignee: Tom de Vries <tdevries>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ivan.ivanov, kernel-bugs
Version: Leap 15.4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tom de Vries 2024-03-22 16:34:21 UTC
This is a bug to track two related upstream PRs, one for gdb and one for the kernel:
- https://sourceware.org/bugzilla/show_bug.cgi?id=31486
  "[gdb/tdep, aarch64] Hang when hitting access watchpoint on M1"
- https://bugzilla.kernel.org/show_bug.cgi?id=218628
  "Aarch64 inexact watchpoint address make SIGTRAP hard to interpret"

Sofar I only managed to reproduce the problem on macbook M1, but it might also occur with new server hardware supporting SVE or the MOPS feature.