[lldb-dev] [Bug 21317] New: Stepping broken with memory threads backed by real threads

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 20 12:10:21 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21317

            Bug ID: 21317
           Summary: Stepping broken with memory threads backed by real
                    threads
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: ribrdb at google.com
    Classification: Unclassified

Created attachment 13225
  --> http://llvm.org/bugs/attachment.cgi?id=13225&action=edit
Possible fix for ProcessGDBRemote.cpp

Thread 1 is a memory thread backed by "real" thread 0xaaa.
If you try to step, a breakpoint gets set for thread 1. However,
ProcessGDBRemote only looks at the "real" thread 0xaaa, which doesn't match the
breakpoint. So when the breakpoint is hit it gets ignored.
I've attached a potential fix for ProcessGDBRemote, but I'm not sure if this is
the best way to fix this. I suspect the other process classes also need similar
changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141020/983222a6/attachment.html>


More information about the lldb-dev mailing list