[lldb-dev] LLDB-MI from Eclipse hangs

Ilia K via lldb-dev lldb-dev at lists.llvm.org
Sun Jul 10 13:31:41 PDT 2016


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.

As for missing ^running, seems that it just not implemented. We support
only asynchronous *running notifications (which aren't being shown in sync
mode).

- Ilia
On Jul 8, 2016 8:19 PM, "Greg Clayton via lldb-dev" <lldb-dev at lists.llvm.org>
wrote:

> From the sample I see that LLDB is in synchronous mode. It was caused by:
>
> > 313,449 12-gdb-set target-async off
> > 313,453 12^done
>
> 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:
>
> //++
> ------------------------------------------------------------------------------------
> // Details: Carry out work to complete the GDB set option 'target-async'
> to prepare
> //          and send back information asked for.
> // Type:    Method.
> // Args:    vrWords - (R) List of additional parameters used by this
> option.
> // Return:  MIstatus::success - Function succeeded.
> //          MIstatus::failure - Function failed.
> // Throws:  None.
> //--
> bool
> CMICmdCmdGdbSet::OptionFnTargetAsync(const CMIUtilString::VecString_t
> &vrWords)
> {
>     bool bAsyncMode = false;
>     bool bOk = true;
>
>     if (vrWords.size() > 1)
>         // Too many arguments.
>         bOk = false;
>     else if (vrWords.size() == 0)
>         // If no arguments, default is "on".
>         bAsyncMode = true;
>     else if (CMIUtilString::Compare(vrWords[0], "on"))
>         bAsyncMode = true;
>     else if (CMIUtilString::Compare(vrWords[0], "off"))
>         bAsyncMode = false;
>     else
>         // Unrecognized argument.
>         bOk = false;
>
>     if (!bOk)
>     {
>         // Report error.
>         m_bGbbOptionFnHasError = true;
>         m_strGdbOptionFnError = MIRSRC(IDS_CMD_ERR_GDBSET_OPT_TARGETASYNC);
>         return MIstatus::failure;
>     }
>
>     // Turn async mode on/off.
>     CMICmnLLDBDebugSessionInfo
> &rSessionInfo(CMICmnLLDBDebugSessionInfo::Instance());
>     rSessionInfo.GetDebugger().SetAsync(bAsyncMode);
>
>     return MIstatus::success;
> }
>
> 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.
>
> Greg
>
> > On Jul 8, 2016, at 12:06 AM, diptivs at gmail.com wrote:
> >
> > Thanks Greg. Attached is the file after sampling lldb-mi. Please let me
> know if you can find some clue from it.
> >
> > --
> > Have a nice day!
> > Regards,
> > Dipti
> >
> >
> > On Fri, Jul 8, 2016 at 5:49 AM, Greg Clayton <gclayton at apple.com> wrote:
> > 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?
> >
> > 314,372 18-exec-continue --thread-group i1
> > 319,380 19-list-thread-groups
> >
> > I would sample the lldb-mi when it is deadlocked:
> >
> > % sample lldb-mi
> >
> > Then attach the sample output to your response.
> >
> > > On Jul 7, 2016, at 8:53 AM, diptivs at gmail.com wrote:
> > >
> > >
> ********************************************************************************************************************************************
> > > 313,309 2-environment-cd "/Users/admin/Documents/workspace/Hello World
> C++ Project"
> > > 313,314 2^done,path="/Users/admin/Documents/workspace/Hello World C++
> Project"
> > > 313,315 (gdb)
> > > 313,321 3-gdb-set breakpoint pending on
> > > 313,322 3^done
> > > 313,323 (gdb)
> > > 313,327 4-gdb-set detach-on-fork on
> > > 313,327 4^done
> > > 313,328 (gdb)
> > > 313,330 5-enable-pretty-printing
> > > 313,388 5^done,supported="0"
> > > 313,394 (gdb)
> > > 313,404 6-gdb-set python print-stack none
> > > 313,404 6^done
> > > 313,405 (gdb)
> > > 313,407 7-gdb-set print object on
> > > 313,408 7^error,msg="The request ''print' error. The option 'object'
> not found' failed."
> > > 313,409 (gdb)
> > > 313,411 8-gdb-set print sevenbit-strings on
> > > 313,413 8^error,msg="The request ''print' error. The option
> 'sevenbit-strings' not found' failed."
> > > 313,434 (gdb)
> > > 313,436 9-gdb-set host-charset UTF-8
> > > 313,436 9^done
> > > 313,437 (gdb)
> > > 313,439 10-gdb-set target-charset UTF-8
> > > 313,440 10^done
> > > 313,442 (gdb)
> > > 313,446 11-gdb-set target-wide-charset UTF-32
> > > 313,447 11^done
> > > 313,447 (gdb)
> > > 313,449 12-gdb-set target-async off
> > > 313,453 12^done
> > > 313,453 (gdb)
> > > 313,454 13-gdb-set auto-solib-add on
> > > 313,455 13^done
> > > 313,455 (gdb)
> > > 313,464 14-file-exec-and-symbols --thread-group i1
> "/Users/admin/Documents/workspace/Hello World C++\
> > >  Project/Debug/Hello World C++ Project"
> > > 313,625 14^done
> > > 313,626 =library-loaded,id="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug/Hello Wor\
> > > ld C++ Project",target-name="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug/Hello Wo\
> > > rld C++ Project",host-name="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug/Hello Wor\
> > > ld C++ Project",symbols-loaded="0",loaded_addr="-",size="8192"
> > > 313,626 (gdb)
> > > 313,627 15-target-select remote 192.168.116.141:1234
> > > 314,260 15^connected
> > > 314,260 =thread-group-started,id="i1",pid="1725"
> > > 314,261 =thread-created,id="1",group-id="i1"
> > > 314,261 =thread-selected,id="1"
> > > 314,261 (gdb)
> > > 314,261
> =library-loaded,id="/usr/lib/dyld",target-name="/usr/lib/dyld",host-name="/usr/lib/dyld",sym\
> > > bols-loaded="0",loaded_addr="0x00007fff65fd2000",size="229376"
> > > 314,261 (gdb)
> > > 314,261
> =library-loaded,id="/usr/lib/libc++.1.dylib",target-name="/usr/lib/libc++.1.dylib",host-name\
> > >
> ="/usr/lib/libc++.1.dylib",symbols-loaded="0",loaded_addr="0x00007fff90557000",size="344064"
> > > 314,261 (gdb)
> > > 314,261
> =library-loaded,id="/usr/lib/libSystem.B.dylib",target-name="/usr/lib/libSystem.B.dylib",hos\
> > >
> t-name="/usr/lib/libSystem.B.dylib",symbols-loaded="0",loaded_addr="0x00007fff88a4c000",size="8192"
> > > 314,261 (gdb)
> > > 314,261
> =library-loaded,id="/usr/lib/libc++abi.dylib",target-name="/usr/lib/libc++abi.dylib",host-na\
> > >
> me="/usr/lib/libc++abi.dylib",symbols-loaded="0",loaded_addr="0x00007fff8fb0f000",size="172032"
> > > 314,261 (gdb)
> > > 314,261
> =library-loaded,id="/usr/lib/system/libcache.dylib",target-name="/usr/lib/system/libcache.dy\
> > >
> lib",host-name="/usr/lib/system/libcache.dylib",symbols-loaded="0",loaded_addr="0x00007fff8be07000",\
> > > size="20480"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libcommonCrypto.dylib",target-name="/usr/lib/system/libc\
> > >
> ommonCrypto.dylib",host-name="/usr/lib/system/libcommonCrypto.dylib",symbols-loaded="0",loaded_addr=\
> > > "0x00007fff8afba000",size="49152"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libcompiler_rt.dylib",target-name="/usr/lib/system/libco\
> > >
> mpiler_rt.dylib",host-name="/usr/lib/system/libcompiler_rt.dylib",symbols-loaded="0",loaded_addr="0x\
> > > 00007fff8c6ed000",size="32768"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libcopyfile.dylib",target-name="/usr/lib/system/libcopyf\
> > >
> ile.dylib",host-name="/usr/lib/system/libcopyfile.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\
> > > c6f5000",size="36864"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libcorecrypto.dylib",target-name="/usr/lib/system/libcor\
> > >
> ecrypto.dylib",host-name="/usr/lib/system/libcorecrypto.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff87435000",size="491520"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libdispatch.dylib",target-name="/usr/lib/system/libdispa\
> > >
> tch.dylib",host-name="/usr/lib/system/libdispatch.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\
> > > de70000",size="188416"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libdyld.dylib",target-name="/usr/lib/system/libdyld.dyli\
> > >
> b",host-name="/usr/lib/system/libdyld.dylib",symbols-loaded="0",loaded_addr="0x00007fff8afc6000",siz\
> > > e="16384"
> > > 314,262 (gdb)
> > > 314,262
> =library-loaded,id="/usr/lib/system/libkeymgr.dylib",target-name="/usr/lib/system/libkeymgr.\
> > >
> dylib",host-name="/usr/lib/system/libkeymgr.dylib",symbols-loaded="0",loaded_addr="0x00007fff9033b00\
> > > 0",size="4096"
> > > 314,263 (gdb)
> > > 314,263
> =library-loaded,id="/usr/lib/system/liblaunch.dylib",target-name="/usr/lib/system/liblaunch.\
> > >
> dylib",host-name="/usr/lib/system/liblaunch.dylib",symbols-loaded="0",loaded_addr="0x000000010d42100\
> > > 0",size="4096"
> > > 314,263 (gdb)
> > > 314,263
> =library-loaded,id="/usr/lib/system/libmacho.dylib",target-name="/usr/lib/system/libmacho.dy\
> > >
> lib",host-name="/usr/lib/system/libmacho.dylib",symbols-loaded="0",loaded_addr="0x00007fff89ced000",\
> > > size="24576"
> > > 314,263 (gdb)
> > > 314,263
> =library-loaded,id="/usr/lib/system/libquarantine.dylib",target-name="/usr/lib/system/libqua\
> > >
> rantine.dylib",host-name="/usr/lib/system/libquarantine.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff922d2000",size="12288"
> > > 314,263 (gdb)
> > > 314,263
> =library-loaded,id="/usr/lib/system/libremovefile.dylib",target-name="/usr/lib/system/librem\
> > >
> ovefile.dylib",host-name="/usr/lib/system/libremovefile.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff8631a000",size="8192"
> > > 314,263 (gdb)
> > > 314,263
> =library-loaded,id="/usr/lib/system/libsystem_asl.dylib",target-name="/usr/lib/system/libsys\
> > >
> tem_asl.dylib",host-name="/usr/lib/system/libsystem_asl.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff87631000",size="98304"
> > > 314,263 (gdb)
> > > 314,263
> =library-loaded,id="/usr/lib/system/libsystem_blocks.dylib",target-name="/usr/lib/system/lib\
> > >
> system_blocks.dylib",host-name="/usr/lib/system/libsystem_blocks.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff90d96000",size="8192"
> > > 314,263 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_c.dylib",target-name="/usr/lib/system/libsyste\
> > >
> m_c.dylib",host-name="/usr/lib/system/libsystem_c.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\
> > > 67a5000",size="581632"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_configuration.dylib",target-name="/usr/lib/sys\
> > >
> tem/libsystem_configuration.dylib",host-name="/usr/lib/system/libsystem_configuration.dylib",symbols\
> > > -loaded="0",loaded_addr="0x00007fff9678b000",size="12288"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_coreservices.dylib",target-name="/usr/lib/syst\
> > >
> em/libsystem_coreservices.dylib",host-name="/usr/lib/system/libsystem_coreservices.dylib",symbols-lo\
> > > aded="0",loaded_addr="0x00007fff90b3a000",size="12288"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_coretls.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_coretls.dylib",host-name="/usr/lib/system/libsystem_coretls.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff89d05000",size="98304"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_dnssd.dylib",target-name="/usr/lib/system/libs\
> > >
> ystem_dnssd.dylib",host-name="/usr/lib/system/libsystem_dnssd.dylib",symbols-loaded="0",loaded_addr=\
> > > "0x00007fff8b4e9000",size="36864"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_info.dylib",target-name="/usr/lib/system/libsy\
> > >
> stem_info.dylib",host-name="/usr/lib/system/libsystem_info.dylib",symbols-loaded="0",loaded_addr="0x\
> > > 00007fff89956000",size="172032"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_kernel.dylib",target-name="/usr/lib/system/lib\
> > >
> system_kernel.dylib",host-name="/usr/lib/system/libsystem_kernel.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff84838000",size="126976"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_m.dylib",target-name="/usr/lib/system/libsyste\
> > >
> m_m.dylib",host-name="/usr/lib/system/libsystem_m.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\
> > > 79d8000",size="196608"
> > > 314,264 (gdb)
> > > 314,264
> =library-loaded,id="/usr/lib/system/libsystem_malloc.dylib",target-name="/usr/lib/system/lib\
> > >
> system_malloc.dylib",host-name="/usr/lib/system/libsystem_malloc.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff9830d000",size="118784"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_network.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_network.dylib",host-name="/usr/lib/system/libsystem_network.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff8d1cd000",size="421888"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_networkextension.dylib",target-name="/usr/lib/\
> > >
> system/libsystem_networkextension.dylib",host-name="/usr/lib/system/libsystem_networkextension.dylib\
> > > ",symbols-loaded="0",loaded_addr="0x00007fff94986000",size="36864"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_notify.dylib",target-name="/usr/lib/system/lib\
> > >
> system_notify.dylib",host-name="/usr/lib/system/libsystem_notify.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff8b4df000",size="40960"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_platform.dylib",target-name="/usr/lib/system/l\
> > >
> ibsystem_platform.dylib",host-name="/usr/lib/system/libsystem_platform.dylib",symbols-loaded="0",loa\
> > > ded_addr="0x00007fff8c48c000",size="36864"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_pthread.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_pthread.dylib",host-name="/usr/lib/system/libsystem_pthread.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff8926a000",size="40960"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_sandbox.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_sandbox.dylib",host-name="/usr/lib/system/libsystem_sandbox.dylib",symbols-loaded="0",loaded\
> > > _addr="0x000000010d42a000",size="16384"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_secinit.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_secinit.dylib",host-name="/usr/lib/system/libsystem_secinit.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff87649000",size="8192"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libsystem_trace.dylib",target-name="/usr/lib/system/libs\
> > >
> ystem_trace.dylib",host-name="/usr/lib/system/libsystem_trace.dylib",symbols-loaded="0",loaded_addr=\
> > > "0x00007fff89cf3000",size="73728"
> > > 314,265 (gdb)
> > > 314,265
> =library-loaded,id="/usr/lib/system/libunc.dylib",target-name="/usr/lib/system/libunc.dylib"\
> > >
> ,host-name="/usr/lib/system/libunc.dylib",symbols-loaded="0",loaded_addr="0x00007fff8f020000",size="\
> > > 4096"
> > > 314,265 (gdb)
> > > 314,266
> =library-loaded,id="/usr/lib/system/libunwind.dylib",target-name="/usr/lib/system/libunwind.\
> > >
> dylib",host-name="/usr/lib/system/libunwind.dylib",symbols-loaded="0",loaded_addr="0x00007fff9800d00\
> > > 0",size="24576"
> > > 314,266 (gdb)
> > > 314,266
> =library-loaded,id="/usr/lib/system/libxpc.dylib",target-name="/usr/lib/system/libxpc.dylib"\
> > >
> ,host-name="/usr/lib/system/libxpc.dylib",symbols-loaded="0",loaded_addr="0x000000010d434000",size="\
> > > 172032"
> > > 314,266 (gdb)
> > > 314,266
> =library-loaded,id="/usr/lib/libobjc.A.dylib",target-name="/usr/lib/libobjc.A.dylib",host-na\
> > >
> me="/usr/lib/libobjc.A.dylib",symbols-loaded="0",loaded_addr="0x00007fff88ae5000",size="3551232"
> > > 314,266 (gdb)
> > > 314,266
> =library-loaded,id="/usr/lib/libauto.dylib",target-name="/usr/lib/libauto.dylib",host-name="\
> > >
> /usr/lib/libauto.dylib",symbols-loaded="0",loaded_addr="0x00007fff965f6000",size="290816"
> > > 314,266 (gdb)
> > > 314,266
> =library-loaded,id="/usr/lib/libDiagnosticMessagesClient.dylib",target-name="/usr/lib/libDia\
> > >
> gnosticMessagesClient.dylib",host-name="/usr/lib/libDiagnosticMessagesClient.dylib",symbols-loaded="\
> > > 0",loaded_addr="0x00007fff92e20000",size="8192"
> > > 314,266 (gdb)
> > > 314,266 =library-loaded,id="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug/Hello Wor\
> > > ld C++ Project",target-name="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug/Hello Wo\
> > > rld C++ Project",host-name="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug/Hello Wor\
> > > ld C++
> Project",symbols-loaded="0",loaded_addr="0x000000010d417000",size="8192"
> > > 314,266
> =library-loaded,id="/usr/lib/libc++.1.dylib",target-name="/usr/lib/libc++.1.dylib",host-name\
> > >
> ="/usr/lib/libc++.1.dylib",symbols-loaded="0",loaded_addr="0x00007fff90557000",size="344064"
> > > 314,266
> =library-loaded,id="/usr/lib/libSystem.B.dylib",target-name="/usr/lib/libSystem.B.dylib",hos\
> > >
> t-name="/usr/lib/libSystem.B.dylib",symbols-loaded="0",loaded_addr="0x00007fff88a4c000",size="8192"
> > > 314,266
> =library-loaded,id="/usr/lib/libc++abi.dylib",target-name="/usr/lib/libc++abi.dylib",host-na\
> > >
> me="/usr/lib/libc++abi.dylib",symbols-loaded="0",loaded_addr="0x00007fff8fb0f000",size="172032"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libcache.dylib",target-name="/usr/lib/system/libcache.dy\
> > >
> lib",host-name="/usr/lib/system/libcache.dylib",symbols-loaded="0",loaded_addr="0x00007fff8be07000",\
> > > size="20480"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libcommonCrypto.dylib",target-name="/usr/lib/system/libc\
> > >
> ommonCrypto.dylib",host-name="/usr/lib/system/libcommonCrypto.dylib",symbols-loaded="0",loaded_addr=\
> > > "0x00007fff8afba000",size="49152"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libcompiler_rt.dylib",target-name="/usr/lib/system/libco\
> > >
> mpiler_rt.dylib",host-name="/usr/lib/system/libcompiler_rt.dylib",symbols-loaded="0",loaded_addr="0x\
> > > 00007fff8c6ed000",size="32768"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libcopyfile.dylib",target-name="/usr/lib/system/libcopyf\
> > >
> ile.dylib",host-name="/usr/lib/system/libcopyfile.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\
> > > c6f5000",size="36864"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libcorecrypto.dylib",target-name="/usr/lib/system/libcor\
> > >
> ecrypto.dylib",host-name="/usr/lib/system/libcorecrypto.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff87435000",size="491520"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libdispatch.dylib",target-name="/usr/lib/system/libdispa\
> > >
> tch.dylib",host-name="/usr/lib/system/libdispatch.dylib",symbols-loaded="0",loaded_addr="0x00007fff8\
> > > de70000",size="188416"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libdyld.dylib",target-name="/usr/lib/system/libdyld.dyli\
> > >
> b",host-name="/usr/lib/system/libdyld.dylib",symbols-loaded="0",loaded_addr="0x00007fff8afc6000",siz\
> > > e="16384"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libkeymgr.dylib",target-name="/usr/lib/system/libkeymgr.\
> > >
> dylib",host-name="/usr/lib/system/libkeymgr.dylib",symbols-loaded="0",loaded_addr="0x00007fff9033b00\
> > > 0",size="4096"
> > > 314,267
> =library-loaded,id="/usr/lib/system/liblaunch.dylib",target-name="/usr/lib/system/liblaunch.\
> > >
> dylib",host-name="/usr/lib/system/liblaunch.dylib",symbols-loaded="0",loaded_addr="0x000000010d42100\
> > > 0",size="4096"
> > > 314,267
> =library-loaded,id="/usr/lib/system/libmacho.dylib",target-name="/usr/lib/system/libmacho.dy\
> > >
> lib",host-name="/usr/lib/system/libmacho.dylib",symbols-loaded="0",loaded_addr="0x00007fff89ced000",\
> > > size="24576"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libquarantine.dylib",target-name="/usr/lib/system/libqua\
> > >
> rantine.dylib",host-name="/usr/lib/system/libquarantine.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff922d2000",size="12288"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libremovefile.dylib",target-name="/usr/lib/system/librem\
> > >
> ovefile.dylib",host-name="/usr/lib/system/libremovefile.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff8631a000",size="8192"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_asl.dylib",target-name="/usr/lib/system/libsys\
> > >
> tem_asl.dylib",host-name="/usr/lib/system/libsystem_asl.dylib",symbols-loaded="0",loaded_addr="0x000\
> > > 07fff87631000",size="98304"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_blocks.dylib",target-name="/usr/lib/system/lib\
> > >
> system_blocks.dylib",host-name="/usr/lib/system/libsystem_blocks.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff90d96000",size="8192"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_c.dylib",target-name="/usr/lib/system/libsyste\
> > >
> m_c.dylib",host-name="/usr/lib/system/libsystem_c.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\
> > > 67a5000",size="581632"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_configuration.dylib",target-name="/usr/lib/sys\
> > >
> tem/libsystem_configuration.dylib",host-name="/usr/lib/system/libsystem_configuration.dylib",symbols\
> > > -loaded="0",loaded_addr="0x00007fff9678b000",size="12288"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_coreservices.dylib",target-name="/usr/lib/syst\
> > >
> em/libsystem_coreservices.dylib",host-name="/usr/lib/system/libsystem_coreservices.dylib",symbols-lo\
> > > aded="0",loaded_addr="0x00007fff90b3a000",size="12288"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_coretls.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_coretls.dylib",host-name="/usr/lib/system/libsystem_coretls.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff89d05000",size="98304"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_dnssd.dylib",target-name="/usr/lib/system/libs\
> > >
> ystem_dnssd.dylib",host-name="/usr/lib/system/libsystem_dnssd.dylib",symbols-loaded="0",loaded_addr=\
> > > "0x00007fff8b4e9000",size="36864"
> > > 314,268
> =library-loaded,id="/usr/lib/system/libsystem_info.dylib",target-name="/usr/lib/system/libsy\
> > >
> stem_info.dylib",host-name="/usr/lib/system/libsystem_info.dylib",symbols-loaded="0",loaded_addr="0x\
> > > 00007fff89956000",size="172032"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_kernel.dylib",target-name="/usr/lib/system/lib\
> > >
> system_kernel.dylib",host-name="/usr/lib/system/libsystem_kernel.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff84838000",size="126976"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_m.dylib",target-name="/usr/lib/system/libsyste\
> > >
> m_m.dylib",host-name="/usr/lib/system/libsystem_m.dylib",symbols-loaded="0",loaded_addr="0x00007fff9\
> > > 79d8000",size="196608"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_malloc.dylib",target-name="/usr/lib/system/lib\
> > >
> system_malloc.dylib",host-name="/usr/lib/system/libsystem_malloc.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff9830d000",size="118784"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_network.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_network.dylib",host-name="/usr/lib/system/libsystem_network.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff8d1cd000",size="421888"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_networkextension.dylib",target-name="/usr/lib/\
> > >
> system/libsystem_networkextension.dylib",host-name="/usr/lib/system/libsystem_networkextension.dylib\
> > > ",symbols-loaded="0",loaded_addr="0x00007fff94986000",size="36864"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_notify.dylib",target-name="/usr/lib/system/lib\
> > >
> system_notify.dylib",host-name="/usr/lib/system/libsystem_notify.dylib",symbols-loaded="0",loaded_ad\
> > > dr="0x00007fff8b4df000",size="40960"
> > > 314,269
> =library-loaded,id="/usr/lib/system/libsystem_platform.dylib",target-name="/usr/lib/system/l\
> > >
> ibsystem_platform.dylib",host-name="/usr/lib/system/libsystem_platform.dylib",symbols-loaded="0",loa\
> > > ded_addr="0x00007fff8c48c000",size="36864"
> > > 314,272
> =library-loaded,id="/usr/lib/system/libsystem_pthread.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_pthread.dylib",host-name="/usr/lib/system/libsystem_pthread.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff8926a000",size="40960"
> > > 314,273
> =library-loaded,id="/usr/lib/system/libsystem_sandbox.dylib",target-name="/usr/lib/system/li\
> > >
> bsystem_sandbox.dylib",host-name="/usr/lib/system/libsystem_sandbox.dylib",symbols-loaded="0",loaded\
> > > _addr="0x000000010d42a000",size="16384"
> > > 314,273
> =library-loaded,id="/usr/lib/system/libsystem_secinit.dylib",target-name="/usr/lib/system/li\
> > > 314,274 16-list-thread-groups --available
> > >
> bsystem_secinit.dylib",host-name="/usr/lib/system/libsystem_secinit.dylib",symbols-loaded="0",loaded\
> > > _addr="0x00007fff87649000",size="8192"
> > > 314,275
> =library-loaded,id="/usr/lib/system/libsystem_trace.dylib",target-name="/usr/lib/system/libs\
> > >
> ystem_trace.dylib",host-name="/usr/lib/system/libsystem_trace.dylib",symbols-loaded="0",loaded_addr=\
> > > "0x00007fff89cf3000",size="73728"
> > > 314,275
> =library-loaded,id="/usr/lib/system/libunc.dylib",target-name="/usr/lib/system/libunc.dylib"\
> > >
> ,host-name="/usr/lib/system/libunc.dylib",symbols-loaded="0",loaded_addr="0x00007fff8f020000",size="\
> > > 4096"
> > > 314,276
> =library-loaded,id="/usr/lib/system/libunwind.dylib",target-name="/usr/lib/system/libunwind.\
> > >
> dylib",host-name="/usr/lib/system/libunwind.dylib",symbols-loaded="0",loaded_addr="0x00007fff9800d00\
> > > 0",size="24576"
> > > 314,276
> =library-loaded,id="/usr/lib/system/libxpc.dylib",target-name="/usr/lib/system/libxpc.dylib"\
> > >
> ,host-name="/usr/lib/system/libxpc.dylib",symbols-loaded="0",loaded_addr="0x000000010d434000",size="\
> > > 172032"
> > > 314,276
> =library-loaded,id="/usr/lib/libobjc.A.dylib",target-name="/usr/lib/libobjc.A.dylib",host-na\
> > >
> me="/usr/lib/libobjc.A.dylib",symbols-loaded="0",loaded_addr="0x00007fff88ae5000",size="3551232"
> > > 314,279
> =library-loaded,id="/usr/lib/libauto.dylib",target-name="/usr/lib/libauto.dylib",host-name="\
> > >
> /usr/lib/libauto.dylib",symbols-loaded="0",loaded_addr="0x00007fff965f6000",size="290816"
> > > 314,279
> =library-loaded,id="/usr/lib/libDiagnosticMessagesClient.dylib",target-name="/usr/lib/libDia\
> > >
> gnosticMessagesClient.dylib",host-name="/usr/lib/libDiagnosticMessagesClient.dylib",symbols-loaded="\
> > > 0",loaded_addr="0x00007fff92e20000",size="8192"
> > > 314,279 (gdb)
> > > 314,279
> =library-loaded,id="/usr/lib/dyld",target-name="/usr/lib/dyld",host-name="/usr/lib/dyld",sym\
> > > bols-loaded="0",loaded_addr="0x00007fff65fd2000",size="229376"
> > > 314,279 (gdb)
> > > 314,279 (gdb)
> > > 314,288
> *stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stop",frame={level="\
> > >
> 0",addr="0x00007fff8484f10a",func="__semwait_signal",file="??",fullname="??",line="-1"},thread-id="1\
> > > ",stopped-threads="all"
> > > 314,288 (gdb)
> > > 314,291 (gdb)
> > > 314,291
> *stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stop",frame={level="\
> > >
> 0",addr="0x00007fff8484f10a",func="__semwait_signal",file="??",fullname="??",line="-1"},thread-id="1\
> > > ",stopped-threads="all"
> > > 314,291 (gdb)
> > > 314,291
> 16^done,groups=[{id="i1",type="process",pid="1725",num_children="<not
> implemented>",cores="<\
> > > not implemented>"}]
> > > 314,294 (gdb)
> > > 314,294 17-break-insert --thread-group i1 -t -f main
> > > 314,365
> 17^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x000000010d417f36",\
> > >
> func="main",file="main.cpp",fullname="/Users/admin/Documents/workspace/Hello
> World C++ Project/Debug\
> > >
> /../main.cpp",line="18",pending=["main"],thread-groups=["i1"],times="0",original-location="main"}
> > > 314,370
> =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000\
> > >
> 0010d417f36",func="main",file="main.cpp",fullname="/Users/admin/Documents/workspace/Hello
> World C++ \
> > >
> Project/Debug/../main.cpp",line="18",pending=["main"],times="0",original-location="main"}
> > > 314,370 (gdb)
> > > 314,370
> =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00000\
> > >
> 0010d417f36",func="main",file="main.cpp",fullname="/Users/admin/Documents/workspace/Hello
> World C++ \
> > >
> Project/Debug/../main.cpp",line="18",pending=["main"],times="0",original-location="main"}
> > > 314,370 (gdb)
> > > 314,370 (gdb)
> > > 314,372 18-exec-continue --thread-group i1
> > > 319,380 19-list-thread-groups
> > >
> >
> >
> >
> >
> > <sample-lldb-mi.rtf>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160710/9ba687f4/attachment-0001.html>


More information about the lldb-dev mailing list