<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Stepping broken with memory threads backed by real threads"
   href="http://llvm.org/bugs/show_bug.cgi?id=21317">21317</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Stepping broken with memory threads backed by real threads
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ribrdb@google.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=13225" name="attach_13225" title="Possible fix for ProcessGDBRemote.cpp">attachment 13225</a> <a href="attachment.cgi?id=13225&action=edit" title="Possible fix for ProcessGDBRemote.cpp">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>