/external/lldb/examples/python/ |
D | process_events.py | 112 elif options.attach_pid != -1: 114 attach_info = lldb.SBAttachInfo (options.attach_pid) 163 if options.attach_pid != -1: 164 print 'Attaching to process %i...' % (options.attach_pid)
|
/external/lldb/tools/debugserver/source/ |
D | debugserver.cpp | 342 RNBRunLoopLaunchAttaching (RNBRemote *remote, nub_process_t attach_pid, nub_process_t& pid) in RNBRunLoopLaunchAttaching() argument 346 DNBLogThreadedIf (LOG_RNB_MINIMAL, "%s Attaching to pid %i...", __FUNCTION__, attach_pid); in RNBRunLoopLaunchAttaching() 348 pid = DNBProcessAttach (attach_pid, NULL, err_str, sizeof(err_str)); in RNBRunLoopLaunchAttaching() 828 int attach_pid = INVALID_NUB_PROCESS; in main() local 904 attach_pid = strtoul(optarg, &end, 0); in main() 1364 else if (attach_pid != INVALID_NUB_PROCESS) in main() 1367 RNBLogSTDOUT ("Attaching to process %i...\n", attach_pid); in main() 1369 mode = RNBRunLoopLaunchAttaching (remote, attach_pid, attached_pid); in main() 1373 …RNBLogSTDERR ("error: failed to attach process %i: %s\n", attach_pid, error_str ? error_str : "unk… in main() 1423 … RNBLogSTDOUT ("Waiting for debugger instructions for process %d.\n", attach_pid); in main()
|
D | RNBRemote.cpp | 3132 nub_process_t attach_pid = INVALID_NUB_PROCESS; in HandlePacket_v() local 3144 …attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), ignore_existing, NUL… in HandlePacket_v() 3156 …attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), ignore_existing, NUL… in HandlePacket_v() 3167 … attach_pid = DNBProcessAttachByName (attach_name.c_str(), NULL, err_str, sizeof(err_str)); in HandlePacket_v() 3174 attach_pid = strtoul (p, &end, 16); // PID will be in hex, so use base 16 to decode in HandlePacket_v() 3180 … attach_pid = DNBProcessAttach(attach_pid, &attach_timeout_abstime, err_str, sizeof(err_str)); in HandlePacket_v() 3189 if (attach_pid != INVALID_NUB_PROCESS) in HandlePacket_v() 3191 if (m_ctx.ProcessID() != attach_pid) in HandlePacket_v() 3192 m_ctx.SetProcessID(attach_pid); in HandlePacket_v()
|
D | DNB.cpp | 310 DNBProcessAttach (nub_process_t attach_pid, struct timespec *timeout, char *err_str, size_t err_len) in DNBProcessAttach() argument 319 DNBLogThreadedIf(LOG_PROCESS, "(DebugNub) attaching to pid %d...", attach_pid); in DNBProcessAttach() 320 pid = processSP->AttachForDebug (attach_pid, err_str, err_len); in DNBProcessAttach()
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunication.cpp | 612 else if (attach_pid != LLDB_INVALID_PROCESS_ID) in StartDebugserverProcess() 614 ::snprintf (arg_cstr, sizeof(arg_cstr), "--attach=%u", attach_pid); in StartDebugserverProcess()
|
D | ProcessGDBRemote.cpp | 935 ProcessGDBRemote::DoAttachToProcessWithID (lldb::pid_t attach_pid) in DoAttachToProcessWithID() argument 938 return DoAttachToProcessWithID(attach_pid, attach_info); in DoAttachToProcessWithID() 942 ProcessGDBRemote::DoAttachToProcessWithID (lldb::pid_t attach_pid, const ProcessAttachInfo &attach_… in DoAttachToProcessWithID() argument 947 if (attach_pid != LLDB_INVALID_PROCESS_ID) in DoAttachToProcessWithID() 976 … const int packet_len = ::snprintf (packet, sizeof(packet), "vAttach;%" PRIx64, attach_pid); in DoAttachToProcessWithID() 977 SetID (attach_pid); in DoAttachToProcessWithID() 2540 else if (attach_pid != LLDB_INVALID_PROCESS_ID) in StartDebugserverProcess() 2542 ::snprintf (arg_cstr, sizeof(arg_cstr), "--attach=%u", attach_pid); in StartDebugserverProcess()
|
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
D | ProcessKDP.cpp | 370 ProcessKDP::DoAttachToProcessWithID (lldb::pid_t attach_pid) in DoAttachToProcessWithID() argument 378 ProcessKDP::DoAttachToProcessWithID (lldb::pid_t attach_pid, const ProcessAttachInfo &attach_info) in DoAttachToProcessWithID() argument
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachProcess.cpp | 1597 nub_process_t attach_pid; in CheckForProcess() local 1598 got_it = SBSProcessIDForDisplayIdentifier(bundleIDCFStr, &attach_pid); in CheckForProcess() 1600 return attach_pid; in CheckForProcess()
|
/external/lldb/source/Target/ |
D | Process.cpp | 3041 lldb::pid_t attach_pid = attach_info.GetProcessID(); in Attach() local 3043 if (attach_pid == LLDB_INVALID_PROCESS_ID) in Attach() 3103 attach_pid = process_infos.GetProcessIDAtIndex(0); in Attach() 3128 if (attach_pid != LLDB_INVALID_PROCESS_ID) in Attach() 3130 error = WillAttachToProcessWithID(attach_pid); in Attach() 3140 error = DoAttachToProcessWithID (attach_pid, attach_info); in Attach()
|
/external/lldb/source/API/ |
D | SBTarget.cpp | 895 lldb::pid_t attach_pid = attach_info.GetProcessID(); in Attach() local 897 if (platform_sp->GetProcessInfo(attach_pid, instance_info)) in Attach() 903 … error.ref().SetErrorStringWithFormat("no process found with process ID %" PRIu64, attach_pid); in Attach()
|