[lldb-dev] lldb GUI interface
Greg Clayton
gclayton at apple.com
Mon Nov 4 10:09:57 PST 2013
The C++ API is definitely the way to go if you are going to integrate this into a plug-in.
On Nov 4, 2013, at 7:01 AM, Eran Ifrah <eran.ifrah at gmail.com> wrote:
> Thanks for the reply. I already got one from Jason Molenda ( just noticed it was sent only to me and not to the entire mailing list )
>
> I will look in the 'examples' folder.
>
> Another question: are there any plans on supporting Windows? I was not able to build lldb on Windows ( using CMake + gcc 4.7.1 (MinGW-TDM) )
I believe it works if you compile it with VS2012 or VS2013.
It will be able to debug the remote targets, but native windows debugging isn't supported unless you are running things generated by clang, gcc or other open source compilers. Microsoft has a proprietary PDB format that contains the debug info that would be hard to support since there are no documents that describe it (none that I know of).
> Since CodeLite is a cross platform IDE, I would really love to make lldb available on all OSs (CodeLite is already linking against llvm/clang for better code completion)
That would be great! Let us know how we can help you make this happen.
>
>
> Thanks,
>
>
> On Mon, Nov 4, 2013 at 4:12 PM, Abid, Hafiz <Hafiz_Abid at mentor.com> wrote:
> > Is there anything equivalent with lldb?
> LLDB provides a C++ API that you can use. Have a look in the 'examples' folder in the source code.
>
> Regards,
> Abid
>
> From: lldb-dev-bounces at cs.uiuc.edu [mailto:lldb-dev-bounces at cs.uiuc.edu] On Behalf Of Eran Ifrah
> Sent: 02 November 2013 05:28
> To: lldb-dev at cs.uiuc.edu
> Subject: [lldb-dev] lldb GUI interface
>
> Hi,
>
> I would like to provide a UI for LLDB as a CodeLite IDE plugin similar to how CodeLite is supporting gdb.
>
> For gdb, I used GDB MI (Machine Interface) which works pretty good (especially when it comes to variable objects) http://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html
>
> Is there anything equivalent with lldb?
> What are your recommendations when it comes to write a UI around lldb? should I simply execute the lldb executable from within CodeLite and communicate using stdin/stdout?
> Is there a library I can link against? (if so, where is the tutorial?)
>
> Thanks,
>
> --
> Eran Ifrah
> Author of codelite, a cross platform open source C/C++ IDE: http://www.codelite.org
> wxCrafter, a wxWidgets RAD: http://wxcrafter.codelite.org
>
>
>
> --
> Eran Ifrah
> Author of codelite, a cross platform open source C/C++ IDE: http://www.codelite.org
> wxCrafter, a wxWidgets RAD: http://wxcrafter.codelite.org
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list