charles-zablit wrote:

> What is the logic behind `m_pending_halt`? You set it in 
> `ProcessWindows::DoHalt` but then you also check for it when handling an 
> `EXCEPTION_BREAKPOINT`. Why do you need to check there?

This is to tell appart `int3` exceptions we caused to interrupt the process, 
versus any other ones (real exceptions). When lldb halts a process, the process 
will be halted through an `EXCEPTION_BREAKPOINT` but there is no way to 
differentiate it with a real breakpoint.

https://github.com/llvm/llvm-project/pull/208233
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to