<div dir="ltr">Thank you all for your reply.<div>Attached is the GDB log.  It looks like synchronous from log :</div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">(gdb)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">-exec-continue --thread-group i1</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><   5> send packet: $c#63</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">-list-thread-groups i1   </span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Greg,</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Can there be some issue with remote debug server? I am using below command:</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><b><span style="">cd </span>/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources</b></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b>./debugserver <a href="http://192.168.116.140:1234">192.168.116.140:1234</a> --attach=2775</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b>debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-350.0.21.9</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b> for x86_64.</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b>Attaching to process 2775...</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b>Listening to port 1234 for a connection from 192.168.116.140...</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">




</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b>Waiting for debugger instructions for process 2775.</b></span></p><div><span style=""><b><br></b></span></div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:arial,sans-serif;font-size:small">Ilia</span><span style="">,</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;line-height:normal"><span style="font-family:Menlo;font-size:11px">How did you do this "</span>I forced lldb-mi to stay in async mode and it was enough for me and Eclipse." ? How do I change the lldb-mi commands executed by eclipse. It would be great if you can help me with this.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:arial,sans-serif;font-size:small">-- </span><br style="font-family:arial,sans-serif"></p><div class="gmail_signature" data-smartmail="gmail_signature">Have a nice day!<br>Regards,<br>Dipti<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 11, 2016 at 2:01 AM, Ilia K <span dir="ltr"><<a href="mailto:ki.stfu@gmail.com" target="_blank">ki.stfu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Good point Greg! Eclipse turns on synchronous mode in lldb-mi but works as if it's in async. I faced with that problem year and a half ago and I still don't know why Eclipse does it. The last time, I forced lldb-mi to stay in async mode and it was enough for me and Eclipse.<br><br><div>As for missing ^running, seems that it just not implemented. We support only asynchronous *running notifications (which aren't being shown in sync mode).<span class=""><font color="#888888"><br><br>- Ilia
</font></span><div class="gmail_quote"><div><div class="h5">On Jul 8, 2016 8:19 PM, "Greg Clayton via lldb-dev" <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div class="h5">From the sample I see that LLDB is in synchronous mode. It was caused by:<br>
<br>
> 313,449 12-gdb-set target-async off<br>
> 313,453 12^done<br>
<br>
This sets LLDB into synchronous mode where if you say "-exec-continue", that command won't return until the target stops. This causes lldb-mi to not process any commands until your process stops or exits. Not sure that this is what we want. We can see the handler for "target-async" below:<br>
<br>
//++ ------------------------------------------------------------------------------------<br>
// Details: Carry out work to complete the GDB set option 'target-async' to prepare<br>
//          and send back information asked for.<br>
// Type:    Method.<br>
// Args:    vrWords - (R) List of additional parameters used by this option.<br>
// Return:  MIstatus::success - Function succeeded.<br>
//          MIstatus::failure - Function failed.<br>
// Throws:  None.<br>
//--<br>
bool<br>
CMICmdCmdGdbSet::OptionFnTargetAsync(const CMIUtilString::VecString_t &vrWords)<br>
{<br>
    bool bAsyncMode = false;<br>
    bool bOk = true;<br>
<br>
    if (vrWords.size() > 1)<br>
        // Too many arguments.<br>
        bOk = false;<br>
    else if (vrWords.size() == 0)<br>
        // If no arguments, default is "on".<br>
        bAsyncMode = true;<br>
    else if (CMIUtilString::Compare(vrWords[0], "on"))<br>
        bAsyncMode = true;<br>
    else if (CMIUtilString::Compare(vrWords[0], "off"))<br>
        bAsyncMode = false;<br>
    else<br>
        // Unrecognized argument.<br>
        bOk = false;<br>
<br>
    if (!bOk)<br>
    {<br>
        // Report error.<br>
        m_bGbbOptionFnHasError = true;<br>
        m_strGdbOptionFnError = MIRSRC(IDS_CMD_ERR_GDBSET_OPT_TARGETASYNC);<br>
        return MIstatus::failure;<br>
    }<br>
<br>
    // Turn async mode on/off.<br>
    CMICmnLLDBDebugSessionInfo &rSessionInfo(CMICmnLLDBDebugSessionInfo::Instance());<br>
    rSessionInfo.GetDebugger().SetAsync(bAsyncMode);<br>
<br>
    return MIstatus::success;<br>
}<br>
<br>
So we see that it sets the debugger into synchronous mode. I don't know MI well enough to know if this is desired, but seeing that eclipse quickly follows up the -exec-continue with a -list-thread-groups, I am guessing this isn't what we want. I would be interested to see the MI log from a GDB that actually works to see what the packet responses are expected to look like.<br>
<br>
Greg<br>
<br>
> On Jul 8, 2016, at 12:06 AM, <a href="mailto:diptivs@gmail.com" target="_blank">diptivs@gmail.com</a> wrote:<br>
><br>
> Thanks Greg. Attached is the file after sampling lldb-mi. Please let me know if you can find some clue from it.<br>
><br>
> --<br>
> Have a nice day!<br>
> Regards,<br>
> Dipti<br>
><br>
><br>
> On Fri, Jul 8, 2016 at 5:49 AM, Greg Clayton <<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>> wrote:<br>
> It looks like we continue and then ask fore thread groups? I am not sure on the rules of MI. Can you ask another question before receiving a response? If we say command 18 is "-exec-continue --thread-group i1", can you send command 19 without receiving a response?<br>
><br>
> 314,372 18-exec-continue --thread-group i1<br>
> 319,380 19-list-thread-groups<br>
><br>
> I would sample the lldb-mi when it is deadlocked:<br>
><br>
> % sample lldb-mi<br>
><br>
> Then attach the sample output to your response.<br>
><br>
> > On Jul 7, 2016, at 8:53 AM, <a href="mailto:diptivs@gmail.com" target="_blank">diptivs@gmail.com</a> wrote:<br>
> ><br>
> > ********************************************************************************************************************************************<br>
> > 313,309 2-environment-cd "/Users/admin/Documents/workspace/Hello World C++ Project"<br>
> > 313,314 2^done,path="/Users/admin/Documents/workspace/Hello World C++ Project"<br>
> > 313,315 (gdb)<br>
> > 313,321 3-gdb-set breakpoint pending on<br>
> > 313,322 3^done<br>
> > 313,323 (gdb)<br>
> > 313,327 4-gdb-set detach-on-fork on<br>
> > 313,327 4^done<br>
> > 313,328 (gdb)<br>
> > 313,330 5-enable-pretty-printing<br>
> > 313,388 5^done,supported="0"<br>
> > 313,394 (gdb)<br>
> > 313,404 6-gdb-set python print-stack none<br>
> > 313,404 6^done<br>
> > 313,405 (gdb)<br>
> > 313,407 7-gdb-set print object on<br>
> > 313,408 7^error,msg="The request ''print' error. The option 'object' not found' failed."<br>
> > 313,409 (gdb)<br>
> > 313,411 8-gdb-set print sevenbit-strings on<br>
> > 313,413 8^error,msg="The request ''print' error. The option 'sevenbit-strings' not found' failed."<br>
> > 313,434 (gdb)<br>
> > 313,436 9-gdb-set host-charset UTF-8<br>
> > 313,436 9^done<br>
> > 313,437 (gdb)<br>
> > 313,439 10-gdb-set target-charset UTF-8<br>
> > 313,440 10^done<br>
> > 313,442 (gdb)<br>
> > 313,446 11-gdb-set target-wide-charset UTF-32<br>
> > 313,447 11^done<br>
> > 313,447 (gdb)<br>
> > 313,449 12-gdb-set target-async off<br>
> > 313,453 12^done<br>
> > 313,453 (gdb)<br>
> > 313,454 13-gdb-set auto-solib-add on<br>
> > 313,455 13^done<br>
> > 313,455 (gdb)<br>
> > 313,464 14-file-exec-and-symbols --thread-group i1 "/Users/admin/Documents/workspace/Hello World C++\<br>
> >  Project/Debug/Hello World C++ Project"<br>
> > 313,625 14^done<br>
> > 313,626 =library-loaded,id="/Users/admin/Documents/workspace/Hello World C++ Project/Debug/Hello Wor\<br>
> > ld C++ Project",target-name="/Users/admin/Documents/workspace/Hello World C++ Project/Debug/Hello Wo\<br>
> > rld C++ Project",host-name="/Users/admin/Documents/workspace/Hello World C++ Project/Debug/Hello Wor\<br>
> > ld C++ Project",symbols-loaded="0",loaded_addr="-",size="8192"<br>
> > 313,626 (gdb)<br>
> > 313,627 15-target-select remote <a href="http://192.168.116.141:1234" rel="noreferrer" target="_blank">192.168.116.141:1234</a><br>
> > 314,260 15^connected<br>
> > 314,260 =thread-group-started,id="i1",pid="1725"<br>
> > 314,261 =thread-created,id="1",group-id="i1"<br>
> > 314,261 =thread-selected,id="1"<br>
> > 314,261 (gdb)<br>
> > 314,261 =library-loaded,id="/usr/lib/dyld",target-name="/usr/lib/dyld",host-name="/usr/lib/dyld",sym\<br>
> > bols-loaded="0",loaded_addr="0x00007fff65fd2000",size="229376"<br>
> > 314,261 (gdb)<br>
> > 314,261 =library-loaded,id="/usr/lib/libc++.1.dylib",target-name="/usr/lib/libc++.1.dylib",host-name\<br>
> > ="/usr/lib/libc++.1.dylib",symbols-loaded="0",loaded_addr="0x00007fff90557000",size="344064"<br>
> > 314,261 (gdb)<br>
> > 314,261 =library-loaded,id="/usr/lib/libSystem.B.dylib",target-name="/usr/lib/libSystem.B.dylib",hos\<br>
> > t-name="/usr/lib/libSystem.B.dylib",symbols-loaded="0",loaded_addr="0x00007fff88a4c000",size="8192"<br>
> > 314,261 (gdb)<br>
> > 314,261 =library-loaded,id="/usr/lib/libc++abi.dylib",target-name="/usr/lib/libc++abi.dylib",host-na\<br>
> > me="/usr/lib/libc++abi.dylib",symbols-loaded="0",loaded_addr="0x00007fff8fb0f000",size="172032"<br>
> > 314,261 (gdb)<br>
> > 314,261 =library-loaded,id="/usr/lib/system/libcache.dylib",target-name="/usr/lib/system/libcache.dy\<br>
> > lib",host-name="/usr/lib/system/libcache.dylib",symbols-loaded="0",loaded_addr="0x00007fff8be07000",\<br>
> > size="20480"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libcommonCrypto.dylib",target-name="/usr/lib/system/libc\<br>
> > ommonCrypto.dylib",host-name="/usr/lib/system/libcommonCrypto.dylib",symbols-loaded="0",loaded_addr=\<br>
> > "0x00007fff8afba000",size="49152"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libcompiler_rt.dylib",target-name="/usr/lib/system/libco\<br>
> > mpiler_rt.dylib",host-name="/usr/lib/system/libcompiler_rt.dylib",symbols-loaded="0",loaded_addr="0x\<br>
> > 00007fff8c6ed000",size="32768"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libcopyfile.dylib",target-name="/usr/lib/system/libcopyf\<br>
> > ile.dylib",host-name="/usr/lib/system/libcopyfile.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\<br>
> > c6f5000",size="36864"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libcorecrypto.dylib",target-name="/usr/lib/system/libcor\<br>
> > ecrypto.dylib",host-name="/usr/lib/system/libcorecrypto.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff87435000",size="491520"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libdispatch.dylib",target-name="/usr/lib/system/libdispa\<br>
> > tch.dylib",host-name="/usr/lib/system/libdispatch.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\<br>
> > de70000",size="188416"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libdyld.dylib",target-name="/usr/lib/system/libdyld.dyli\<br>
> > b",host-name="/usr/lib/system/libdyld.dylib",symbols-loaded="0",loaded_addr="0x00007fff8afc6000",siz\<br>
> > e="16384"<br>
> > 314,262 (gdb)<br>
> > 314,262 =library-loaded,id="/usr/lib/system/libkeymgr.dylib",target-name="/usr/lib/system/libkeymgr.\<br>
> > dylib",host-name="/usr/lib/system/libkeymgr.dylib",symbols-loaded="0",loaded_addr="0x00007fff9033b00\<br>
> > 0",size="4096"<br>
> > 314,263 (gdb)<br>
> > 314,263 =library-loaded,id="/usr/lib/system/liblaunch.dylib",target-name="/usr/lib/system/liblaunch.\<br>
> > dylib",host-name="/usr/lib/system/liblaunch.dylib",symbols-loaded="0",loaded_addr="0x000000010d42100\<br>
> > 0",size="4096"<br>
> > 314,263 (gdb)<br>
> > 314,263 =library-loaded,id="/usr/lib/system/libmacho.dylib",target-name="/usr/lib/system/libmacho.dy\<br>
> > lib",host-name="/usr/lib/system/libmacho.dylib",symbols-loaded="0",loaded_addr="0x00007fff89ced000",\<br>
> > size="24576"<br>
> > 314,263 (gdb)<br>
> > 314,263 =library-loaded,id="/usr/lib/system/libquarantine.dylib",target-name="/usr/lib/system/libqua\<br>
> > rantine.dylib",host-name="/usr/lib/system/libquarantine.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff922d2000",size="12288"<br>
> > 314,263 (gdb)<br>
> > 314,263 =library-loaded,id="/usr/lib/system/libremovefile.dylib",target-name="/usr/lib/system/librem\<br>
> > ovefile.dylib",host-name="/usr/lib/system/libremovefile.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff8631a000",size="8192"<br>
> > 314,263 (gdb)<br>
> > 314,263 =library-loaded,id="/usr/lib/system/libsystem_asl.dylib",target-name="/usr/lib/system/libsys\<br>
> > tem_asl.dylib",host-name="/usr/lib/system/libsystem_asl.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff87631000",size="98304"<br>
> > 314,263 (gdb)<br>
> > 314,263 =library-loaded,id="/usr/lib/system/libsystem_blocks.dylib",target-name="/usr/lib/system/lib\<br>
> > system_blocks.dylib",host-name="/usr/lib/system/libsystem_blocks.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff90d96000",size="8192"<br>
> > 314,263 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_c.dylib",target-name="/usr/lib/system/libsyste\<br>
> > m_c.dylib",host-name="/usr/lib/system/libsystem_c.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\<br>
> > 67a5000",size="581632"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_configuration.dylib",target-name="/usr/lib/sys\<br>
> > tem/libsystem_configuration.dylib",host-name="/usr/lib/system/libsystem_configuration.dylib",symbols\<br>
> > -loaded="0",loaded_addr="0x00007fff9678b000",size="12288"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_coreservices.dylib",target-name="/usr/lib/syst\<br>
> > em/libsystem_coreservices.dylib",host-name="/usr/lib/system/libsystem_coreservices.dylib",symbols-lo\<br>
> > aded="0",loaded_addr="0x00007fff90b3a000",size="12288"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_coretls.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_coretls.dylib",host-name="/usr/lib/system/libsystem_coretls.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff89d05000",size="98304"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_dnssd.dylib",target-name="/usr/lib/system/libs\<br>
> > ystem_dnssd.dylib",host-name="/usr/lib/system/libsystem_dnssd.dylib",symbols-loaded="0",loaded_addr=\<br>
> > "0x00007fff8b4e9000",size="36864"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_info.dylib",target-name="/usr/lib/system/libsy\<br>
> > stem_info.dylib",host-name="/usr/lib/system/libsystem_info.dylib",symbols-loaded="0",loaded_addr="0x\<br>
> > 00007fff89956000",size="172032"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_kernel.dylib",target-name="/usr/lib/system/lib\<br>
> > system_kernel.dylib",host-name="/usr/lib/system/libsystem_kernel.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff84838000",size="126976"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_m.dylib",target-name="/usr/lib/system/libsyste\<br>
> > m_m.dylib",host-name="/usr/lib/system/libsystem_m.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\<br>
> > 79d8000",size="196608"<br>
> > 314,264 (gdb)<br>
> > 314,264 =library-loaded,id="/usr/lib/system/libsystem_malloc.dylib",target-name="/usr/lib/system/lib\<br>
> > system_malloc.dylib",host-name="/usr/lib/system/libsystem_malloc.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff9830d000",size="118784"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_network.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_network.dylib",host-name="/usr/lib/system/libsystem_network.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff8d1cd000",size="421888"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_networkextension.dylib",target-name="/usr/lib/\<br>
> > system/libsystem_networkextension.dylib",host-name="/usr/lib/system/libsystem_networkextension.dylib\<br>
> > ",symbols-loaded="0",loaded_addr="0x00007fff94986000",size="36864"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_notify.dylib",target-name="/usr/lib/system/lib\<br>
> > system_notify.dylib",host-name="/usr/lib/system/libsystem_notify.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff8b4df000",size="40960"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_platform.dylib",target-name="/usr/lib/system/l\<br>
> > ibsystem_platform.dylib",host-name="/usr/lib/system/libsystem_platform.dylib",symbols-loaded="0",loa\<br>
> > ded_addr="0x00007fff8c48c000",size="36864"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_pthread.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_pthread.dylib",host-name="/usr/lib/system/libsystem_pthread.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff8926a000",size="40960"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_sandbox.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_sandbox.dylib",host-name="/usr/lib/system/libsystem_sandbox.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x000000010d42a000",size="16384"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_secinit.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_secinit.dylib",host-name="/usr/lib/system/libsystem_secinit.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff87649000",size="8192"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libsystem_trace.dylib",target-name="/usr/lib/system/libs\<br>
> > ystem_trace.dylib",host-name="/usr/lib/system/libsystem_trace.dylib",symbols-loaded="0",loaded_addr=\<br>
> > "0x00007fff89cf3000",size="73728"<br>
> > 314,265 (gdb)<br>
> > 314,265 =library-loaded,id="/usr/lib/system/libunc.dylib",target-name="/usr/lib/system/libunc.dylib"\<br>
> > ,host-name="/usr/lib/system/libunc.dylib",symbols-loaded="0",loaded_addr="0x00007fff8f020000",size="\<br>
> > 4096"<br>
> > 314,265 (gdb)<br>
> > 314,266 =library-loaded,id="/usr/lib/system/libunwind.dylib",target-name="/usr/lib/system/libunwind.\<br>
> > dylib",host-name="/usr/lib/system/libunwind.dylib",symbols-loaded="0",loaded_addr="0x00007fff9800d00\<br>
> > 0",size="24576"<br>
> > 314,266 (gdb)<br>
> > 314,266 =library-loaded,id="/usr/lib/system/libxpc.dylib",target-name="/usr/lib/system/libxpc.dylib"\<br>
> > ,host-name="/usr/lib/system/libxpc.dylib",symbols-loaded="0",loaded_addr="0x000000010d434000",size="\<br>
> > 172032"<br>
> > 314,266 (gdb)<br>
> > 314,266 =library-loaded,id="/usr/lib/libobjc.A.dylib",target-name="/usr/lib/libobjc.A.dylib",host-na\<br>
> > me="/usr/lib/libobjc.A.dylib",symbols-loaded="0",loaded_addr="0x00007fff88ae5000",size="3551232"<br>
> > 314,266 (gdb)<br>
> > 314,266 =library-loaded,id="/usr/lib/libauto.dylib",target-name="/usr/lib/libauto.dylib",host-name="\<br>
> > /usr/lib/libauto.dylib",symbols-loaded="0",loaded_addr="0x00007fff965f6000",size="290816"<br>
> > 314,266 (gdb)<br>
> > 314,266 =library-loaded,id="/usr/lib/libDiagnosticMessagesClient.dylib",target-name="/usr/lib/libDia\<br>
> > gnosticMessagesClient.dylib",host-name="/usr/lib/libDiagnosticMessagesClient.dylib",symbols-loaded="\<br>
> > 0",loaded_addr="0x00007fff92e20000",size="8192"<br>
> > 314,266 (gdb)<br>
> > 314,266 =library-loaded,id="/Users/admin/Documents/workspace/Hello World C++ Project/Debug/Hello Wor\<br>
> > ld C++ Project",target-name="/Users/admin/Documents/workspace/Hello World C++ Project/Debug/Hello Wo\<br>
> > rld C++ Project",host-name="/Users/admin/Documents/workspace/Hello World C++ Project/Debug/Hello Wor\<br>
> > ld C++ Project",symbols-loaded="0",loaded_addr="0x000000010d417000",size="8192"<br>
> > 314,266 =library-loaded,id="/usr/lib/libc++.1.dylib",target-name="/usr/lib/libc++.1.dylib",host-name\<br>
> > ="/usr/lib/libc++.1.dylib",symbols-loaded="0",loaded_addr="0x00007fff90557000",size="344064"<br>
> > 314,266 =library-loaded,id="/usr/lib/libSystem.B.dylib",target-name="/usr/lib/libSystem.B.dylib",hos\<br>
> > t-name="/usr/lib/libSystem.B.dylib",symbols-loaded="0",loaded_addr="0x00007fff88a4c000",size="8192"<br>
> > 314,266 =library-loaded,id="/usr/lib/libc++abi.dylib",target-name="/usr/lib/libc++abi.dylib",host-na\<br>
> > me="/usr/lib/libc++abi.dylib",symbols-loaded="0",loaded_addr="0x00007fff8fb0f000",size="172032"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libcache.dylib",target-name="/usr/lib/system/libcache.dy\<br>
> > lib",host-name="/usr/lib/system/libcache.dylib",symbols-loaded="0",loaded_addr="0x00007fff8be07000",\<br>
> > size="20480"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libcommonCrypto.dylib",target-name="/usr/lib/system/libc\<br>
> > ommonCrypto.dylib",host-name="/usr/lib/system/libcommonCrypto.dylib",symbols-loaded="0",loaded_addr=\<br>
> > "0x00007fff8afba000",size="49152"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libcompiler_rt.dylib",target-name="/usr/lib/system/libco\<br>
> > mpiler_rt.dylib",host-name="/usr/lib/system/libcompiler_rt.dylib",symbols-loaded="0",loaded_addr="0x\<br>
> > 00007fff8c6ed000",size="32768"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libcopyfile.dylib",target-name="/usr/lib/system/libcopyf\<br>
> > ile.dylib",host-name="/usr/lib/system/libcopyfile.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\<br>
> > c6f5000",size="36864"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libcorecrypto.dylib",target-name="/usr/lib/system/libcor\<br>
> > ecrypto.dylib",host-name="/usr/lib/system/libcorecrypto.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff87435000",size="491520"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libdispatch.dylib",target-name="/usr/lib/system/libdispa\<br>
> > tch.dylib",host-name="/usr/lib/system/libdispatch.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\<br>
> > de70000",size="188416"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libdyld.dylib",target-name="/usr/lib/system/libdyld.dyli\<br>
> > b",host-name="/usr/lib/system/libdyld.dylib",symbols-loaded="0",loaded_addr="0x00007fff8afc6000",siz\<br>
> > e="16384"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libkeymgr.dylib",target-name="/usr/lib/system/libkeymgr.\<br>
> > dylib",host-name="/usr/lib/system/libkeymgr.dylib",symbols-loaded="0",loaded_addr="0x00007fff9033b00\<br>
> > 0",size="4096"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/liblaunch.dylib",target-name="/usr/lib/system/liblaunch.\<br>
> > dylib",host-name="/usr/lib/system/liblaunch.dylib",symbols-loaded="0",loaded_addr="0x000000010d42100\<br>
> > 0",size="4096"<br>
> > 314,267 =library-loaded,id="/usr/lib/system/libmacho.dylib",target-name="/usr/lib/system/libmacho.dy\<br>
> > lib",host-name="/usr/lib/system/libmacho.dylib",symbols-loaded="0",loaded_addr="0x00007fff89ced000",\<br>
> > size="24576"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libquarantine.dylib",target-name="/usr/lib/system/libqua\<br>
> > rantine.dylib",host-name="/usr/lib/system/libquarantine.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff922d2000",size="12288"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libremovefile.dylib",target-name="/usr/lib/system/librem\<br>
> > ovefile.dylib",host-name="/usr/lib/system/libremovefile.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff8631a000",size="8192"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_asl.dylib",target-name="/usr/lib/system/libsys\<br>
> > tem_asl.dylib",host-name="/usr/lib/system/libsystem_asl.dylib",symbols-loaded="0",loaded_addr="0x000\<br>
> > 07fff87631000",size="98304"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_blocks.dylib",target-name="/usr/lib/system/lib\<br>
> > system_blocks.dylib",host-name="/usr/lib/system/libsystem_blocks.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff90d96000",size="8192"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_c.dylib",target-name="/usr/lib/system/libsyste\<br>
> > m_c.dylib",host-name="/usr/lib/system/libsystem_c.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\<br>
> > 67a5000",size="581632"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_configuration.dylib",target-name="/usr/lib/sys\<br>
> > tem/libsystem_configuration.dylib",host-name="/usr/lib/system/libsystem_configuration.dylib",symbols\<br>
> > -loaded="0",loaded_addr="0x00007fff9678b000",size="12288"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_coreservices.dylib",target-name="/usr/lib/syst\<br>
> > em/libsystem_coreservices.dylib",host-name="/usr/lib/system/libsystem_coreservices.dylib",symbols-lo\<br>
> > aded="0",loaded_addr="0x00007fff90b3a000",size="12288"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_coretls.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_coretls.dylib",host-name="/usr/lib/system/libsystem_coretls.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff89d05000",size="98304"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_dnssd.dylib",target-name="/usr/lib/system/libs\<br>
> > ystem_dnssd.dylib",host-name="/usr/lib/system/libsystem_dnssd.dylib",symbols-loaded="0",loaded_addr=\<br>
> > "0x00007fff8b4e9000",size="36864"<br>
> > 314,268 =library-loaded,id="/usr/lib/system/libsystem_info.dylib",target-name="/usr/lib/system/libsy\<br>
> > stem_info.dylib",host-name="/usr/lib/system/libsystem_info.dylib",symbols-loaded="0",loaded_addr="0x\<br>
> > 00007fff89956000",size="172032"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_kernel.dylib",target-name="/usr/lib/system/lib\<br>
> > system_kernel.dylib",host-name="/usr/lib/system/libsystem_kernel.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff84838000",size="126976"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_m.dylib",target-name="/usr/lib/system/libsyste\<br>
> > m_m.dylib",host-name="/usr/lib/system/libsystem_m.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\<br>
> > 79d8000",size="196608"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_malloc.dylib",target-name="/usr/lib/system/lib\<br>
> > system_malloc.dylib",host-name="/usr/lib/system/libsystem_malloc.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff9830d000",size="118784"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_network.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_network.dylib",host-name="/usr/lib/system/libsystem_network.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff8d1cd000",size="421888"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_networkextension.dylib",target-name="/usr/lib/\<br>
> > system/libsystem_networkextension.dylib",host-name="/usr/lib/system/libsystem_networkextension.dylib\<br>
> > ",symbols-loaded="0",loaded_addr="0x00007fff94986000",size="36864"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_notify.dylib",target-name="/usr/lib/system/lib\<br>
> > system_notify.dylib",host-name="/usr/lib/system/libsystem_notify.dylib",symbols-loaded="0",loaded_ad\<br>
> > dr="0x00007fff8b4df000",size="40960"<br>
> > 314,269 =library-loaded,id="/usr/lib/system/libsystem_platform.dylib",target-name="/usr/lib/system/l\<br>
> > ibsystem_platform.dylib",host-name="/usr/lib/system/libsystem_platform.dylib",symbols-loaded="0",loa\<br>
> > ded_addr="0x00007fff8c48c000",size="36864"<br>
> > 314,272 =library-loaded,id="/usr/lib/system/libsystem_pthread.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_pthread.dylib",host-name="/usr/lib/system/libsystem_pthread.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff8926a000",size="40960"<br>
> > 314,273 =library-loaded,id="/usr/lib/system/libsystem_sandbox.dylib",target-name="/usr/lib/system/li\<br>
> > bsystem_sandbox.dylib",host-name="/usr/lib/system/libsystem_sandbox.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x000000010d42a000",size="16384"<br>
> > 314,273 =library-loaded,id="/usr/lib/system/libsystem_secinit.dylib",target-name="/usr/lib/system/li\<br>
> > 314,274 16-list-thread-groups --available<br>
> > bsystem_secinit.dylib",host-name="/usr/lib/system/libsystem_secinit.dylib",symbols-loaded="0",loaded\<br>
> > _addr="0x00007fff87649000",size="8192"<br>
> > 314,275 =library-loaded,id="/usr/lib/system/libsystem_trace.dylib",target-name="/usr/lib/system/libs\<br>
> > ystem_trace.dylib",host-name="/usr/lib/system/libsystem_trace.dylib",symbols-loaded="0",loaded_addr=\<br>
> > "0x00007fff89cf3000",size="73728"<br>
> > 314,275 =library-loaded,id="/usr/lib/system/libunc.dylib",target-name="/usr/lib/system/libunc.dylib"\<br>
> > ,host-name="/usr/lib/system/libunc.dylib",symbols-loaded="0",loaded_addr="0x00007fff8f020000",size="\<br>
> > 4096"<br>
> > 314,276 =library-loaded,id="/usr/lib/system/libunwind.dylib",target-name="/usr/lib/system/libunwind.\<br>
> > dylib",host-name="/usr/lib/system/libunwind.dylib",symbols-loaded="0",loaded_addr="0x00007fff9800d00\<br>
> > 0",size="24576"<br>
> > 314,276 =library-loaded,id="/usr/lib/system/libxpc.dylib",target-name="/usr/lib/system/libxpc.dylib"\<br>
> > ,host-name="/usr/lib/system/libxpc.dylib",symbols-loaded="0",loaded_addr="0x000000010d434000",size="\<br>
> > 172032"<br>
> > 314,276 =library-loaded,id="/usr/lib/libobjc.A.dylib",target-name="/usr/lib/libobjc.A.dylib",host-na\<br>
> > me="/usr/lib/libobjc.A.dylib",symbols-loaded="0",loaded_addr="0x00007fff88ae5000",size="3551232"<br>
> > 314,279 =library-loaded,id="/usr/lib/libauto.dylib",target-name="/usr/lib/libauto.dylib",host-name="\<br>
> > /usr/lib/libauto.dylib",symbols-loaded="0",loaded_addr="0x00007fff965f6000",size="290816"<br>
> > 314,279 =library-loaded,id="/usr/lib/libDiagnosticMessagesClient.dylib",target-name="/usr/lib/libDia\<br>
> > gnosticMessagesClient.dylib",host-name="/usr/lib/libDiagnosticMessagesClient.dylib",symbols-loaded="\<br>
> > 0",loaded_addr="0x00007fff92e20000",size="8192"<br>
> > 314,279 (gdb)<br>
> > 314,279 =library-loaded,id="/usr/lib/dyld",target-name="/usr/lib/dyld",host-name="/usr/lib/dyld",sym\<br>
> > bols-loaded="0",loaded_addr="0x00007fff65fd2000",size="229376"<br>
> > 314,279 (gdb)<br>
> > 314,279 (gdb)<br>
> > 314,288 *stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stop",frame={level="\<br>
> > 0",addr="0x00007fff8484f10a",func="__semwait_signal",file="??",fullname="??",line="-1"},thread-id="1\<br>
> > ",stopped-threads="all"<br>
> > 314,288 (gdb)<br>
> > 314,291 (gdb)<br>
> > 314,291 *stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stop",frame={level="\<br>
> > 0",addr="0x00007fff8484f10a",func="__semwait_signal",file="??",fullname="??",line="-1"},thread-id="1\<br>
> > ",stopped-threads="all"<br>
> > 314,291 (gdb)<br>
> > 314,291 16^done,groups=[{id="i1",type="process",pid="1725",num_children="<not implemented>",cores="<\<br>
> > not implemented>"}]<br>
> > 314,294 (gdb)<br>
> > 314,294 17-break-insert --thread-group i1 -t -f main<br>
> > 314,365 17^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x000000010d417f36",\<br>
> > func="main",file="main.cpp",fullname="/Users/admin/Documents/workspace/Hello World C++ Project/Debug\<br>
> > /../main.cpp",line="18",pending=["main"],thread-groups=["i1"],times="0",original-location="main"}<br>
> > 314,370 =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000\<br>
> > 0010d417f36",func="main",file="main.cpp",fullname="/Users/admin/Documents/workspace/Hello World C++ \<br>
> > Project/Debug/../main.cpp",line="18",pending=["main"],times="0",original-location="main"}<br>
> > 314,370 (gdb)<br>
> > 314,370 =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000\<br>
> > 0010d417f36",func="main",file="main.cpp",fullname="/Users/admin/Documents/workspace/Hello World C++ \<br>
> > Project/Debug/../main.cpp",line="18",pending=["main"],times="0",original-location="main"}<br>
> > 314,370 (gdb)<br>
> > 314,370 (gdb)<br>
> > 314,372 18-exec-continue --thread-group i1<br>
> > 319,380 19-list-thread-groups<br>
> ><br>
><br>
><br>
><br>
><br>
> <sample-lldb-mi.rtf><br>
<br></div></div><span class="">
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
</span></blockquote></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div>
</div></div>