lldb-mi compatibility with gdb 7.12 mi2 interpreter

I am the developer of a gdb frontend called gdbgui ([https://github.com/cs01/gdbgui](https://github.com/cs01/gdbgui)). Users would like support for lldb ([https://github.com/cs01/gdbgui/issues/19](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.