<div dir="ltr"><div>Hi Deepak,</div><div><br></div><div>I am working on integrating my LLDB port into eclipse. Wanted to give a try on your LLDB machine interface.</div><div><br></div><div>Tried lldb-mi from command line. I am facing the following problem.</div>
<div><br></div><div>$ lldb-mi --interpreter a.out</div><div>(gdb)</div><div>00000001-break-insert main.c:32</div><div>(gdb)</div><div>1^error,msg="Command 'break-insert'. Breakpoint 'main.c:32' invalid"</div>
<div>(gdb)</div><div><br></div><div>Following is the lldb-mi-log.txt content:</div><div><br></div><div>F,3/5/114 16:14:24,Application: /home/chandra/install_mi/bin/lldb-mi</div><div>F,3/5/114 16:14:24,Command line args: 1:'--interpreter' 2:'a.out' </div>
<div>F,3/5/114 16:14:24,Driver. Using driver 'Machine Interface Driver Version: 1.0.0.3 (Debug)' internally</div><div>F,3/5/114 16:14:54,(gdb)</div><div>F,3/5/114 16:41:45,00000001-break-insert main.c:32</div><div>
F,3/5/114 16:41:45,1^error,msg="Command 'break-insert'. Breakpoint 'main.c:32' invalid"</div><div><br></div><div>On debugging, at the following line I found 'rTarget' as 'NULL'.</div>
<div><br></div><div>-- MICmdCmdBreak.cpp, CMICmdCmdBreakInsert::Execute() --</div><div>197 CMICmnLLDBDebugSessionInfo & rSessionInfo( CMICmnLLDBDebugSessionInfo::Instance() );</div><div>198 lldb::SBTarget & rTarget = rSessionInfo.m_lldbTarget;</div>
<div>----</div><div><br></div><div>I am not clear why the target is NULL at this point. Still debugging on this.</div><div><br></div><div>Can you please help me to go further on this.</div><div><br></div><div>Thanks,</div>
<div>Chandra Kumar R. </div></div>