mgorny marked an inline comment as done.
mgorny added inline comments.

Comment at: lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:334
     SetState(StateType::eStateStopped, true);
krytarowski wrote:
> I presume that in this code path we land into a scenario that:
> 1. Trap on a different LWP
> 2. User sets new watchpoints
> 3. We land here with a SIGTRAP on old watchpoint that was wiped out.
> If so, we shall ignore this report, bail out and resume execution with 
> I think that this path could be some remnant from Linux shared trap reasons.
I was wondering whether it's better to silently ignore unknown watchpoints or 
stop the process. Decided the latter is better for the user, in case it carried 
some useful information still. Not to mention it has lower risk of crashing 
lldb-server if I get some logic wrong.


lldb-commits mailing list

Reply via email to