Searched refs:attach_pid (Results 1 - 10 of 10) sorted by relevance

/external/lldb/examples/python/
H A Dprocess_events.py94 parser.add_option('-p', '--attach-pid', type='int', dest='attach_pid', metavar='PID', help='Specify a process to attach to by process ID.', default=-1)
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/
H A Ddebugserver.cpp342 RNBRunLoopLaunchAttaching (RNBRemote *remote, nub_process_t attach_pid, nub_process_t& pid) argument
346 DNBLogThreadedIf (LOG_RNB_MINIMAL, "%s Attaching to pid %i...", __FUNCTION__, attach_pid);
348 pid = DNBProcessAttach (attach_pid, NULL, err_str, sizeof(err_str));
828 int attach_pid = INVALID_NUB_PROCESS; local
904 attach_pid = strtoul(optarg, &end, 0);
1364 else if (attach_pid != INVALID_NUB_PROCESS)
1367 RNBLogSTDOUT ("Attaching to process %i...\n", attach_pid);
1369 mode = RNBRunLoopLaunchAttaching (remote, attach_pid, attached_pid);
1373 RNBLogSTDERR ("error: failed to attach process %i: %s\n", attach_pid, error_str ? error_str : "unknown error.");
1423 RNBLogSTDOUT ("Waiting for debugger instructions for process %d.\n", attach_pid);
[all...]
H A DRNBRemote.cpp3132 nub_process_t attach_pid = INVALID_NUB_PROCESS; local
3144 attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), ignore_existing, NULL, 1000, err_str, sizeof(err_str), RNBRemoteShouldCancelCallback);
3156 attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), ignore_existing, NULL, 1000, err_str, sizeof(err_str), RNBRemoteShouldCancelCallback);
3167 attach_pid = DNBProcessAttachByName (attach_name.c_str(), NULL, err_str, sizeof(err_str));
3174 attach_pid = strtoul (p, &end, 16); // PID will be in hex, so use base 16 to decode
3180 attach_pid = DNBProcessAttach(attach_pid, &attach_timeout_abstime, err_str, sizeof(err_str));
3189 if (attach_pid != INVALID_NUB_PROCESS)
3191 if (m_ctx.ProcessID() != attach_pid)
3192 m_ctx.SetProcessID(attach_pid);
[all...]
H A DDNB.cpp310 DNBProcessAttach (nub_process_t attach_pid, struct timespec *timeout, char *err_str, size_t err_len) argument
319 DNBLogThreadedIf(LOG_PROCESS, "(DebugNub) attaching to pid %d...", attach_pid);
320 pid = processSP->AttachForDebug (attach_pid, err_str, err_len);
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp612 else if (attach_pid != LLDB_INVALID_PROCESS_ID)
614 ::snprintf (arg_cstr, sizeof(arg_cstr), "--attach=%u", attach_pid);
H A DProcessGDBRemote.cpp935 ProcessGDBRemote::DoAttachToProcessWithID (lldb::pid_t attach_pid) argument
938 return DoAttachToProcessWithID(attach_pid, attach_info);
942 ProcessGDBRemote::DoAttachToProcessWithID (lldb::pid_t attach_pid, const ProcessAttachInfo &attach_info) argument
947 if (attach_pid != LLDB_INVALID_PROCESS_ID)
976 const int packet_len = ::snprintf (packet, sizeof(packet), "vAttach;%" PRIx64, attach_pid);
977 SetID (attach_pid);
2540 else if (attach_pid != LLDB_INVALID_PROCESS_ID)
2542 ::snprintf (arg_cstr, sizeof(arg_cstr), "--attach=%u", attach_pid);
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp370 ProcessKDP::DoAttachToProcessWithID (lldb::pid_t attach_pid) argument
378 ProcessKDP::DoAttachToProcessWithID (lldb::pid_t attach_pid, const ProcessAttachInfo &attach_info) argument
/external/lldb/source/API/
H A DSBTarget.cpp895 lldb::pid_t attach_pid = attach_info.GetProcessID(); local
897 if (platform_sp->GetProcessInfo(attach_pid, instance_info))
903 error.ref().SetErrorStringWithFormat("no process found with process ID %" PRIu64, attach_pid);
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.cpp1597 nub_process_t attach_pid; local
1598 got_it = SBSProcessIDForDisplayIdentifier(bundleIDCFStr, &attach_pid);
1600 return attach_pid;
/external/lldb/source/Target/
H A DProcess.cpp3041 lldb::pid_t attach_pid = attach_info.GetProcessID();
3043 if (attach_pid == LLDB_INVALID_PROCESS_ID)
3103 attach_pid = process_infos.GetProcessIDAtIndex(0);
3128 if (attach_pid != LLDB_INVALID_PROCESS_ID)
3130 error = WillAttachToProcessWithID(attach_pid);
3140 error = DoAttachToProcessWithID (attach_pid, attach_info);

Completed in 294 milliseconds