[Lldb-commits] [PATCH] Can't set watchpoints on launching threads on Linux LLGS.
Oleksiy Vyalov
ovyalov at google.com
Thu Mar 5 18:28:33 PST 2015
In http://reviews.llvm.org/D7914#135266, @chaoren wrote:
> It seems like the only state in which it's possible to set a hardware watchpoint is eStateStopped. All other states either can't be examined by ptrace or has already crashed. Am I understanding this correctly? Right now I'm running into a problem where watchpoint is being set while the state is eStateRunning. That's a probably caused by an unrelated problem of threads failing to be stopped.
Yes, it's safe to send PTRACE request to a thread when it in stopped state. How do you reproduce this situation with setting watchpoint on a running thread?
http://reviews.llvm.org/D7914
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list