<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 --- - lldb-mi issues"
   href="http://llvm.org/bugs/show_bug.cgi?id=20051">20051</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb-mi issues
          </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>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>abidh.haq@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have created this bug to list the lldb-mi problems. I was using CDT 8.1 for
my testing.

1. Eclipse gives a timeout error while connecting with the lldb-mi. It can be
fixed by outputting a "(gdb)" first thing in the main. (Thanks deepak for the
tip).
2. After that eclipse complains because exec-run is not implemented.
3. If the step 2 is fixed then lldb-mi shows an error of unknow index. It seems
that lldb-mi maintains an internal context which is not being updated
correctly. Cause of this error is a NULL internal process when  state event
arrives.

If the above 3 are fixed then eclipse seems to work well. I can step through a
hello world type of application and call stack is correct. But I observed some
other issues. 

4. Putting a breakpoint on a line was not working. I got the following error.
"Not all arguments or options were recognized"
5. Values of the variables were not being updated correctly in the Expressions
view.
6. Disassembly, Register and Memory Browser view don't work due to various
missing commands.
7. Terminating the session also gives the following error.
"Received command '477-interpreter-exec console kill'. It was not handled."</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>