LLDB Machine Interface Frontend

Hi Deepak,

I am working on integrating my LLDB port into eclipse. Wanted to give a try on your LLDB machine interface.

Tried lldb-mi from command line. I am facing the following problem.

$ lldb-mi --interpreter a.out
(gdb)
00000001-break-insert main.c:32
(gdb)
1^error,msg=“Command ‘break-insert’. Breakpoint ‘main.c:32’ invalid”
(gdb)

Following is the lldb-mi-log.txt content:

F,3/5/114 16:14:24,Application: /home/chandra/install_mi/bin/lldb-mi
F,3/5/114 16:14:24,Command line args: 1:’–interpreter’ 2:‘a.out’
F,3/5/114 16:14:24,Driver. Using driver ‘Machine Interface Driver Version: 1.0.0.3 (Debug)’ internally
F,3/5/114 16:14:54,(gdb)
F,3/5/114 16:41:45,00000001-break-insert main.c:32
F,3/5/114 16:41:45,1^error,msg=“Command ‘break-insert’. Breakpoint ‘main.c:32’ invalid”

On debugging, at the following line I found ‘rTarget’ as ‘NULL’.

– MICmdCmdBreak.cpp, CMICmdCmdBreakInsert::Execute() –
197 CMICmnLLDBDebugSessionInfo & rSessionInfo( CMICmnLLDBDebugSessionInfo::Instance() );
198 lldb::SBTarget & rTarget = rSessionInfo.m_lldbTarget;