<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I found a little problem that was causing lldb-mi to reject every command that I tried from the command line.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">mi-command ==><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> [ token ] "-" operation ( " " option )* [ " --" ] ( " " parameter )* nl
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Current implementation is expecting token in every command while this seems to be optional in the standard.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Still to figure why my eclipse times out when I try to connect with lldb-mi.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Abid
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> lldb-dev-bounces@cs.uiuc.edu
[mailto:lldb-dev-bounces@cs.uiuc.edu] <b>On Behalf Of </b>Colin Riley<br>
<b>Sent:</b> 20 May 2014 12:52<br>
<b>To:</b> lldb-dev@cs.uiuc.edu<br>
<b>Subject:</b> Re: [lldb-dev] LLDB Machine Interface Frontend<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hey Eran, <br>
<br>
Comments inline.<o:p></o:p></p>
<div>
<p class="MsoNormal">On 19/05/2014 21:50, Eran Ifrah wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Thanks for your build Deepak, it starts without any crashes.<br>
However, the implementation is lacking, and I suspect that making it work with any existing IDE that uses GDB/MI will take a lot of effort.<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<p class="MsoNormal">The implementation is certainly lacking, we stated that it's the initial commit and it's only tested with Eclipse. With Eclipse it works correctly. I should add at the moment only remote targets are supported. The amount of effort to get
an existing GDB/MI interface up and running however is now drastically lower than previous!<br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Few comments:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">On Windows, I use some extra normal commands that have no counter part in the MI, such as "set new-console on" (which creates a new CMD.EXE and redirects all the application's std[in|err|out]),
ofc, this does not work<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal">Yeah, for those sorts of commands best bet is you add that yourself. Eclipse certainly doesn't use it, and that's our initial target.<br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">The replies from lldb-mi, are a bit different from gdb, for example, consider this interaction between codelite (the IDE) and lldb-mi:<br>
<br>
</span><span style="font-family:"Courier New"">Using gdbinit file: C:\Users\PC\AppData\Local\Temp\codelite_gdbinit.txt<br>
Current working dir: D:\src\TestArea\wxCrafterTester<br>
Launching gdb from : ./Debug<br>
Starting debugger : C:\Users\PC\Desktop\MinSizeRel\lldb-mi.exe --command="C:\Users\PC\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "./wxCrafterTester"<br>
DEBUG>>00000001-break-insert -f -t main<br>
DEBUG>>00000002-enable-pretty-printing<br>
Debug session started successfully!<br>
DEBUG>>00000003-exec-arguments <br>
DEBUG>>00000004-exec-run <br>
lldb-mi>>1^error,msg="Command 'break-insert'. Breakpoint 'main' invalid"<br>
1^error,msg="Command 'break-insert'. Breakpoint 'main' invalid"</span><span style="font-family:"Verdana","sans-serif""><br>
<br>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Command: 00000001: -break-insert
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">According to the docs, it can accept function name (its sole purpose here is to place a temporary breakpoint at 'main' (hence, the "-t") ). It seems like lldb-mi does not expect a function
name but rather a location? (did not try that)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal">-t and breakpoints on functions are certainly supported at this stage, the code is all there and we use it. Will have to look at this one.<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Also, the reply from lldb-mi is different:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">codelite prepends a transaction ID (8 digits number with fixed length) for each command it sends over to gdb, it is expecting gdb/lldb-mi to reply with these exact 8 digits (including all
padding zeros)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">this is not the case here (lldb-mi replied with '1' instead of '00000001')<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal">Ack. The standard I guess does say any arrangement of digits, we'll get this one fixed :)<br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">After changing codelite's gdb settings (i.e. disabled the option to temporarily break at main) I hit another obstacle: I can not place a breakpoint:<br>
<br>
</span><span style="font-family:"Courier New"">DEBUG>>00000005-break-insert -f "\"D:/src/TestArea/wxCrafterTester/MainFrame.cpp:15\""</span><span style="font-family:"Verdana","sans-serif""><br>
...<br>
and lldb-mi replied with:<br>
<br>
</span><span style="font-family:"Courier New"">lldb-mi>>MI: Error: Command Args. Validation failed. Not all arguments or options were recognized: "\"D:/src/TestArea/wxCrafterTester/MainFrame.cpp:15\""<br>
MI: Error: Command Args. Validation failed. Not all arguments or options were recognized: "\"D:/src/TestArea/wxCrafterTester/MainFrame.cpp:15\""<br>
lldb-mi>>5^error,msg="Command 'break-insert'. Command Args. Validation failed. Not all arguments or options were recognized: "\"D:/src/TestArea/wxCrafterTester/MainFrame.cpp:15\"""<br>
5^error,msg="Command 'break-insert'. Command Args. Validation failed. Not all arguments or options were recognized: "\"D:/src/TestArea/wxCrafterTester/MainFrame.cpp:15\"""</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">At first I thought its because of the volume ("D:") part of the file name, so I changed the settings to send file name without full path, same error occured ...<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Also, it seems that when lldb-mi hits the first error it simply hangs ( I don't see my application being launched )<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal">We'll see if we can repo this sort of thing and have a look at it. We use it on windows too so the volume being part of the file name shouldn't really matter.<br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Some more observations:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">Commands that are not supported (and used by codelite IDE):<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">// -exec-arguments<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New"">DEBUG>>00000010-exec-arguments 1<br>
lldb-mi>>11^error,msg="Driver. Received command '00000011-exec-arguments'. It was not handled. Command 'exec-arguments' not in Command Factory"</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">// -enable-pretty-printing</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New"">DEBUG>>00000010-enable-pretty-printing<br>
lldb-mi>>10^done,supported="0"</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">This was all tested on Windows 7, 64bit.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">Trying to debug an executable built with g++-4.8.1 32bit, (MinGW, no MSYS)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal">Yup, lots of commands still to write. At the moment though you can certainly use this frontend and it's usable on Eclipse, for remote targets anyway. Breakpoints, single stepping, local variables, stack traces are all there and supported.
Obviously there will be issues given we're only testing on Eclipse. <br>
<br>
As every 'standard' implementer knows, the only standard thing about all the implementations is that they are guaranteed to all be used in subtly different ways :)<br>
<br>
Thanks for taking the time to check it out, this feedback is incredibly valuable. At the end of the day, we want to make sure the frontend will work with as many different IDEs as possible.<br>
<br>
Cheers,<br>
<br>
Colin<br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">Thanks for you work,<br>
Eran<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, May 19, 2014 at 2:26 PM, Deepak Panickal <<a href="mailto:deepak@codeplay.com" target="_blank">deepak@codeplay.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Eran,<br>
<br>
Here's the link to download the MinSizeRel build.<br>
<a href="https://db.tt/CdvFKVcN" target="_blank">https://db.tt/CdvFKVcN</a><br>
<br>
Thanks,<br>
Deepak <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 16/05/2014 21:01, Eran Ifrah wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, May 16, 2014 at 9:55 PM, Eran Ifrah <<a href="mailto:eran.ifrah@gmail.com" target="_blank">eran.ifrah@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, May 16, 2014 at 8:23 PM, Deepak Panickal <<a href="mailto:deepak@codeplay.com" target="_blank">deepak@codeplay.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Eran,<br>
<br>
I tried it here with a Debug build and a MinSizeRel build, but no crashes.<br>
<br>
Did you try to launch it from an IDE or simply ran it?<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Arial","sans-serif""></span><span style="font-family:"Verdana","sans-serif""> I tried it from the command line<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">FYI:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I am using Windows 7 (64), Visual Studio 2013 (express edition)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">Can you upload your lldb-mi.exe / liblldb.dll somewhere so I could try it here and see if its a problem with my build?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""></span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">Could you please try a debug build?<o:p></o:p></p>
</div>
</blockquote>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Arial","sans-serif""></span><span style="font-family:"Verdana","sans-serif""> Will do<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">here is the backtrace from the crash (it crashes on a va_copy() call... arg) :<br>
<br>
msvcr120d.dll!5ccefb53() Unknown<br>
[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]
<br>
[External Code] <br>
> lldb-mi.exe!CMIUtilString::FormatPriv(const CMIUtilString & vrFormat, char * vArgs) Line 114 C++<br>
lldb-mi.exe!CMIUtilString::Format(const CMIUtilString & vrFormating, ...) Line 139 C++<br>
lldb-mi.exe!CMIDriverMgr::GetAppVersion() Line 577 C++<br>
lldb-mi.exe!CMICmnLog::Initialize() Line 83 C++<br>
lldb-mi.exe!MI::ModuleInit<CMICmnLog>(const int vErrorResrcId, bool & vwrbOk, CMIUtilString & vwrErrMsg) Line 50 C++<br>
lldb-mi.exe!CMIDriverMgr::Initialize() Line 82 C++<br>
lldb-mi.exe!DriverSystemInit() Line 199 C++<br>
lldb-mi.exe!main(int argc, const char * * argv) Line 317 C++<br>
[External Code] <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">And for your convenience, here is the "Locals" view during the crash:<br>
vrFormat "%s\n%s\n%s" const CMIUtilString &<br>
vArgs 0x00bdf334 "ÌÌÌÌ| \x15" char *<br>
argsCpy 0x00bdf334 "ÌÌÌÌ| \x15" char *<br>
nFinal 0 int<br>
pFormatted unique_ptr 37 '%' std::unique_ptr<char [0],std::default_delete<char [0]> ><br>
n 16 int<br>
strResult "" CMIUtilString<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Hope it will give you a hint<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""></span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal"><br>
We'll look into it more to see if we can find something.<br>
<br>
Thanks,<br>
Deepak <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 16/05/2014 17:04, Eran Ifrah wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">Hi Deepak,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I have just updated and rebuilt the tree on Windows<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Starting lldb-mi.exe -> instantly crashes<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">for comparison, starting lldb.exe it starts normally without any crash<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I built it using VS2013, I selected the 'MinSizeRel' build configuration
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">Unfortunately, running it under VS, gives a useless backtrace (only addresses)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif"">I could try and build it with debug info, but it just takes too much time :D<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Eran<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, May 16, 2014 at 6:50 PM, <<a href="mailto:jingham@apple.com" target="_blank">jingham@apple.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Excellent! Again, thanks for working on this.<br>
<span style="color:#888888"><br>
Jim</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
On May 16, 2014, at 4:15 AM, Deepak Panickal <<a href="mailto:deepak@codeplay.com" target="_blank">deepak@codeplay.com</a>> wrote:<br>
<br>
> Thanks Jim, have just committed it. Yeah, it works with the GDB/MI interface.<br>
><br>
> There's no GPL code, it's all written from scratch.<br>
> Not all MI commands have been implemented yet, however it should be enough to set breakpoints, view locals.<br>
> We're working on adding more commands for viewing/modifying registers, memory etc.<br>
><br>
> It'll be great if more people from the community can use and test it with other GUIs!<br>
><br>
> Thanks,<br>
> Deepak<br>
><br>
><br>
> On 15/05/2014 18:57, <a href="mailto:jingham@apple.com" target="_blank">jingham@apple.com</a> wrote:<br>
>> First off, thanks for doing this, that is great! If this also works with the gdb-mi mode, you will make our emacs friends happy as well.<br>
>><br>
>> If this is just an independent tool that doesn't touch the core lldb sources (and doesn't use anything directly from the gdb MI implementation, since we don't want to mix GPL'ed code in with lldb), I see no reason not to just check it in now, and then iterate
on it in situ. That is much easier than handing around patch files, and since there's no chance it will interfere with anybody working on parts of lldb that existed before the patch, can't do any harm. I spoke to GregC and he agrees this is a reasonable
course.<br>
>><br>
>> Again, thanks for working on this.<br>
>><br>
>> Jim<br>
>><br>
>><br>
>> On May 15, 2014, at 10:17 AM, Deepak Panickal <<a href="mailto:deepak@codeplay.com" target="_blank">deepak@codeplay.com</a>> wrote:<br>
>><br>
>>> Hi Abid,<br>
>>><br>
>>> Thank you, I have attached the zipped patch.<br>
>>> You might have to the change the triple in tools/lldb-mi/MICmnConfig.h for your target.<br>
>>><br>
>>> Please let me know if you have any comments/suggestions.<br>
>>><br>
>>> Thanks,<br>
>>> Deepak<br>
>>><br>
>>> On 15/05/2014 17:10, Abid, Hafiz wrote:<br>
>>>> Hi Deepak,<br>
>>>> I can help review/test it when you post the patch.<br>
>>>><br>
>>>> Thanks,<br>
>>>> Abid<br>
>>>><br>
>>>>> -----Original Message-----<br>
>>>>> From: <a href="mailto:lldb-dev-bounces@cs.uiuc.edu" target="_blank">lldb-dev-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:lldb-dev-bounces@cs.uiuc.edu" target="_blank">lldb-dev-bounces@cs.uiuc.edu</a>]<br>
>>>>> On Behalf Of Deepak Panickal<br>
>>>>> Sent: 15 May 2014 12:14<br>
>>>>> To: <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
>>>>> Subject: [lldb-dev] LLDB Machine Interface Frontend<br>
>>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>> We have an MI (Machine Interface) frontend to LLDB which works out of the<br>
>>>>> box with Eclipse, and likely will work with other GUI's based on the GDB/MI<br>
>>>>> interface. It's been tested on Linux and Windows.<br>
>>>>><br>
>>>>> It's ready to upstream and has been developed as an independent tool<br>
>>>>> residing in the LLDB tools folder. It's based on the LLDB public API without<br>
>>>>> any changes to LLDB internals.<br>
>>>>><br>
>>>>> The patch is quite large as there are many new files.<br>
>>>>> How should we go about upstreaming? Should I create a diff review as<br>
>>>>> usual?<br>
>>>>><br>
>>>>> Thanks,<br>
>>>>> Deepak<br>
>>>>> _______________________________________________<br>
>>>>> lldb-dev mailing list<br>
>>>>> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
>>>>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
>>> <lldb-mi-driver.patch.bz2>_______________________________________________<br>
>>> lldb-dev mailing list<br>
>>> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
>>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
><br>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Eran Ifrah<br>
Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">
http://www.codelite.org</a></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></span><o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Eran Ifrah<br>
Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">
http://www.codelite.org</a></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Eran Ifrah<br>
Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">
http://www.codelite.org</a></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Eran Ifrah<br>
Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">
http://www.codelite.org</a></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">wxCrafter, a wxWidgets RAD:
<a href="http://">http://</a><a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>lldb-dev mailing list<o:p></o:p></pre>
<pre><a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><o:p></o:p></pre>
<pre><a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>- Colin Riley<o:p></o:p></pre>
<pre>Games Technology Director<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Codeplay Software Ltd<o:p></o:p></pre>
<pre>45 York Place, Edinburgh, EH1 3HP<o:p></o:p></pre>
<pre>Tel: 0131 466 0503<o:p></o:p></pre>
<pre>Fax: 0131 557 6600<o:p></o:p></pre>
<pre>Website: <a href="http://www.codeplay.com">http://www.codeplay.com</a><o:p></o:p></pre>
<pre>Twitter: <a href="https://twitter.com/codeplaysoft">https://twitter.com/codeplaysoft</a><o:p></o:p></pre>
</div>
</div>
</body>
</html>