There is no MI interface, but LLDB can be driven from Python and C++:

- Python API Documentation
<http://lldb.llvm.org/python_reference/index.html>
- C++ API Documentation
<http://lldb.llvm.org/cpp_reference/html/index.html>

Also, see the examples in the source tree and in the Python docs.

For getting filenames, use an SBFileSpec object and call GetPath() on it,
or use GetDirectory() and GetFilename(). To see actual source code, use a
SBSourceManager object.

Dan

On 2013-09-24 11:15 AM, ""C. Bergström"" <[email protected]> wrote:

>On 09/24/13 10:16 PM, Yin Ma wrote:
>> Hello,
>>
>> We are developing our Debugger GUI to support lldb.
>> Does lldb have an enable mode for GUI mode?
>> like gdb -fullname, it will emit a string that
>> indicates source code location instead of printing
>> source line to stdout?
>cli wrappers suck - Doesn't lldb have an API interface similar to GDB's
>MI that allows you to control it?
>_______________________________________________
>lldb-dev mailing list
>[email protected]
>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to