[llvm-bugs] [Bug 28728] New: lldb python failed to enable watchpoint

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 26 22:19:00 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28728

            Bug ID: 28728
           Summary: lldb python failed to enable watchpoint
           Product: lldb
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: pianoboysai at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

3.8 source:

void
SBWatchpoint::SetEnabled (bool enabled)
{
    lldb::WatchpointSP watchpoint_sp(GetSP());
    if (watchpoint_sp)
    {
        Mutex::Locker api_locker (watchpoint_sp->GetTarget().GetAPIMutex());
       
watchpoint_sp->GetTarget().DisableWatchpointByID(watchpoint_sp->GetID());
    }
}


it always uses "DisableWatchpointByID",  so can not enable again.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160727/5679cc2f/attachment.html>


More information about the llvm-bugs mailing list