[Lldb-commits] [lldb] Reapply "[lldb] Implement basic support for reverse-continue (#125242)" (again) (PR #128156)

Robert O'Callahan via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 17 13:54:23 PDT 2025


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


More information about the lldb-commits mailing list