[lldb-dev] Question on using lldb inside a GUI

Shankar Easwaran shankare at codeaurora.org
Tue Sep 24 08:52:34 PDT 2013


Not sure if you have already seen this :-

https://github.com/snarez/voltron (A half-arsed UI module for GDB & LLDB).

Thanks

Shankar Easwaran

On 9/24/2013 10:39 AM, Malea, Daniel wrote:
> 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"" <cbergstrom at pathscale.com> 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
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the lldb-dev mailing list