[llvm-dev] lldb-mi compatibility with gdb 7.12 mi2 interpreter

Chad Smith via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 7 17:38:43 PST 2017


Hello,

I am the developer of a gdb frontend called gdbgui
(https://github.com/cs01/gdbgui). Users would like support for lldb
(https://github.com/cs01/gdbgui/issues/19), so I added this repo as a
source

deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main


then installed lldb-mi=4.0

>> lldb-mi-4.0 --version
> Version: GNU gdb (GDB) 7.4
> (This is a MI stub on top of LLDB and not GDB)
> All rights reserved.


then ran `gdbgui` with it, and crossed my fingers, hoping all users could
do the same.

Unfortunately, the gdb 7.12 mi2 api and the lldb-4.0-mi api don't seem to
match. In each case where they did not match, I added TODOLLDB to the
source code: https://github.com/cs01/gdbgui/blob/master/gdbgui/
static/js/gdbgui.js#L569

Any help in getting `gdbgui` working with lldb would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170307/5abc11c0/attachment.html>


More information about the llvm-dev mailing list