forked from OSchip/llvm-project
Can't set watchpoints on launching threads on Linux LLGS.
Summary: They'll be set anyway when the thread starts running, so the launching threads should just ignore the set request. Reviewers: ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7914 llvm-svn: 230671
This commit is contained in:
parent
adbb3f207f
commit
f591f69fc3
|
@ -218,6 +218,8 @@ NativeThreadLinux::SetWatchpoint (lldb::addr_t addr, size_t size, uint32_t watch
|
|||
{
|
||||
if (!hardware)
|
||||
return Error ("not implemented");
|
||||
if (m_state == eStateLaunching)
|
||||
return Error ();
|
||||
Error error = RemoveWatchpoint(addr);
|
||||
if (error.Fail()) return error;
|
||||
NativeRegisterContextSP reg_ctx = GetRegisterContext ();
|
||||
|
|
Loading…
Reference in New Issue