rocallahan wrote:

The logs show the problem here:
```
AssertionError: Ran command:
"thread list"

Got output:
Process 79916 stopped
* thread #1: tid = 0x4870aa, 0x0000000100e0ff94 a.out`trigger_watchpoint at 
main.c:7:60, stop reason = instruction step into

Expecting sub string: "stopped" (was found)
Expecting sub string: "trigger_watchpoint" (was found)
Expecting sub string: "stop reason = watchpoint 1" (was not found)
```
Basically we reverse-continue, hit a watchpoint, and that is correctly reported 
to the user as "stop reason = watchpoint 1".
Then we singlestep forward, which on x86(-64) triggers the watchpoint, but on 
Arm here LLDB is reporting it to the user as "instruction step into", i.e. not 
reporting the watchpoint being hit.

Maybe this is an x86 vs ARM issue and previous testing on ARM did not show it 
because we didn't run the watchpoint tests on ARM or for some other reason?

https://github.com/llvm/llvm-project/pull/128156
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to