DavidSpickett wrote:

> "if a thread stops at a breakpoint site, we set the thread's stop reason to 
> breakpoint-hit, even if the breakpoint hasn't been executed"

What does it look like for a thread to be stopped at a *breakpoint site* but 
not to have executed the breakpoint?

Is this just a timing thing, if one thread executes the breakpoint and that 
causes all others to stop, and one of those others happens to be about to 
execute the same breakpoint?

```
T0:
  nop
  brk << $pc, hit the breakpoint and generated the debug exception

T1:
  nop
  brk << also $pc but didn't execute it yet
```


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

Reply via email to