[lldb-dev] LLDB-MI from Eclipse hangs
Greg Clayton via lldb-dev
lldb-dev at lists.llvm.org
Thu Jul 7 17:24:15 PDT 2016
Actually you should have seen a ^running as a response from -exec-continue:
-exec-continue
^running
(gdb)
But we don't see that here.
Also, -exec-continue doesn't believe it takes any arguments in the lldb-mi. Check the tools/lldb-mi/MICmdCmdExec.cpp source file in the LLDB sources. Note that is says "Args: None.". Not sure what lldb-mi does if arguments are passed to a command that doesn't believe it takes any arguments...
//++ ------------------------------------------------------------------------------------
// Details: CMICmdCmdExecContinue constructor.
// Type: Method.
// Args: None.
// Return: None.
// Throws: None.
//--
CMICmdCmdExecContinue::CMICmdCmdExecContinue()
{
// Command factory matches this name with that received from the stdin stream
m_strMiCmd = "exec-continue";
// Required by the CMICmdFactory when registering *this command
m_pSelfCreatorFn = &CMICmdCmdExecContinue::CreateSelf;
}
//++ ------------------------------------------------------------------------------------
// Details: CMICmdCmdExecContinue destructor.
// Type: Overrideable.
// Args: None.
// Return: None.
// Throws: None.
//--
CMICmdCmdExecContinue::~CMICmdCmdExecContinue()
{
}
//++ ------------------------------------------------------------------------------------
// Details: The invoker requires this function. The command does work in this function.
// The command is likely to communicate with the LLDB SBDebugger in here.
// Type: Overridden.
// Args: None.
// Return: MIstatus::success - Functional succeeded.
// MIstatus::failure - Functional failed.
// Throws: None.
//--
bool
CMICmdCmdExecContinue::Execute()
{
const char *pCmd = "continue";
CMICmnLLDBDebugSessionInfo &rSessionInfo(CMICmnLLDBDebugSessionInfo::Instance());
const lldb::ReturnStatus rtn = rSessionInfo.GetDebugger().GetCommandInterpreter().HandleCommand(pCmd, m_lldbResult);
MIunused(rtn);
if (m_lldbResult.GetErrorSize() == 0)
{
// CODETAG_DEBUG_SESSION_RUNNING_PROG_RECEIVED_SIGINT_PAUSE_PROGRAM
if (!CMIDriver::Instance().SetDriverStateRunningDebugging())
{
const CMIUtilString &rErrMsg(CMIDriver::Instance().GetErrorDescription());
SetError(CMIUtilString::Format(MIRSRC(IDS_CMD_ERR_SET_NEW_DRIVER_STATE), m_cmdData.strMiCmd.c_str(), rErrMsg.c_str()));
return MIstatus::failure;
}
}
else
{
// ToDo: Re-evaluate if this is required when application near finished as this is parsing LLDB error message
// which seems a hack and is code brittle
const char *pLldbErr = m_lldbResult.GetError();
const CMIUtilString strLldbMsg(CMIUtilString(pLldbErr).StripCREndOfLine());
if (strLldbMsg == "error: Process must be launched.")
{
CMIDriver::Instance().SetExitApplicationFlag(true);
}
}
return MIstatus::success;
}
//++ ------------------------------------------------------------------------------------
// Details: The invoker requires this function. The command prepares a MI Record Result
// for the work carried out in the Execute().
// Type: Overridden.
// Args: None.
// Return: MIstatus::success - Functional succeeded.
// MIstatus::failure - Functional failed.
// Throws: None.
//--
bool
CMICmdCmdExecContinue::Acknowledge()
{
if (m_lldbResult.GetErrorSize() > 0)
{
const CMICmnMIValueConst miValueConst(m_lldbResult.GetError());
const CMICmnMIValueResult miValueResult("message", miValueConst);
const CMICmnMIResultRecord miRecordResult(m_cmdData.strMiCmdToken, CMICmnMIResultRecord::eResultClass_Error, miValueResult);
m_miResultRecord = miRecordResult;
}
else
{
const CMICmnMIResultRecord miRecordResult(m_cmdData.strMiCmdToken, CMICmnMIResultRecord::eResultClass_Running);
m_miResultRecord = miRecordResult;
}
return MIstatus::success;
}
//++ ------------------------------------------------------------------------------------
// Details: Required by the CMICmdFactory when registering *this command. The factory
// calls this function to create an instance of *this command.
// Type: Static method.
// Args: None.
// Return: CMICmdBase * - Pointer to a new command.
// Throws: None.
//--
CMICmdBase *
CMICmdCmdExecContinue::CreateSelf()
{
return new CMICmdCmdExecContinue();
}
> On Jul 7, 2016, at 5:19 PM, 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
>>
>
More information about the lldb-dev
mailing list