Home
last modified time | relevance | path

Searched refs:attach_pid (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
H A Dgdbremote_testcase.py328 def get_debug_monitor_command_line_args(self, attach_pid=None): argument
330 if attach_pid:
331 commandline_args += ["--attach=%d" % attach_pid]
347 def launch_debug_monitor(self, attach_pid=None, logfile=None): argument
361 attach_pid=attach_pid)
376 def connect_to_debug_monitor(self, attach_pid=None): argument
379 server = self.launch_debug_monitor(attach_pid=attach_pid)
394 server = self.launch_debug_monitor(attach_pid=attach_pid)
480 attach_pid = None
493 attach_pid = inferior.pid
[all …]
/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dprocess_events.py240 elif options.attach_pid != -1:
242 attach_info = lldb.SBAttachInfo(options.attach_pid)
292 if options.attach_pid != -1:
293 print('Attaching to process %i...' % (options.attach_pid))
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A Ddebugserver.cpp364 nub_process_t attach_pid, in RNBRunLoopLaunchAttaching() argument
369 attach_pid); in RNBRunLoopLaunchAttaching()
371 pid = DNBProcessAttach(attach_pid, NULL, ctx.GetIgnoredExceptions(), err_str, in RNBRunLoopLaunchAttaching()
959 int attach_pid = INVALID_NUB_PROCESS; in main() local
1049 attach_pid = static_cast<int>(strtoul(optarg, &end, 0)); in main()
1556 } else if (attach_pid != INVALID_NUB_PROCESS) { in main()
1558 RNBLogSTDOUT("Attaching to process %i...\n", attach_pid); in main()
1560 mode = RNBRunLoopLaunchAttaching(remote, attach_pid, attached_pid); in main()
1563 RNBLogSTDERR("error: failed to attach process %i: %s\n", attach_pid, in main()
1618 attach_pid); in main()
H A DDNB.cpp441 nub_process_t DNBProcessAttach(nub_process_t attach_pid, in DNBProcessAttach() argument
451 static_cast<int>(attach_pid)}; in DNBProcessAttach()
472 snprintf(pidstr, sizeof(pidstr), "--attach=%d", attach_pid); in DNBProcessAttach()
491 attach_pid); in DNBProcessAttach()
493 processSP->AttachForDebug(attach_pid, ignored_exceptions, err_str, in DNBProcessAttach()
H A DRNBRemote.cpp3787 nub_process_t attach_pid = in HandlePacket_v() local
3803 attach_pid = DNBProcessAttachWait( in HandlePacket_v()
3818 attach_pid = DNBProcessAttachWait( in HandlePacket_v()
3831 attach_pid = DNBProcessAttachByName(attach_name.c_str(), NULL, in HandlePacket_v()
3846 attach_pid = DNBProcessAttach(pid_attaching_to, &attach_timeout_abstime, in HandlePacket_v()
3854 if (attach_pid == INVALID_NUB_PROCESS_ARCH) { in HandlePacket_v()
3865 if (attach_pid != INVALID_NUB_PROCESS) { in HandlePacket_v()
3866 if (m_ctx.ProcessID() != attach_pid) in HandlePacket_v()
3867 m_ctx.SetProcessID(attach_pid); in HandlePacket_v()
3868 DNBLog("Successfully attached to pid %d", attach_pid); in HandlePacket_v()
/openbsd-src/gnu/llvm/lldb/tools/driver/
H A DOptions.td30 def attach_pid: Separate<["--", "-"], "attach-pid">,
35 Alias<attach_pid>,
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DProcess.cpp2788 lldb::pid_t attach_pid = attach_info.GetProcessID(); in Attach() local
2790 if (attach_pid == LLDB_INVALID_PROCESS_ID) { in Attach()
2837 attach_pid = process_infos[0].GetProcessID(); in Attach()
2867 if (attach_pid != LLDB_INVALID_PROCESS_ID) { in Attach()
2868 error = WillAttachToProcessWithID(attach_pid); in Attach()
2876 error = DoAttachToProcessWithID(attach_pid, attach_info); in Attach()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp368 ProcessKDP::DoAttachToProcessWithID(lldb::pid_t attach_pid, in DoAttachToProcessWithID() argument
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBTarget.cpp441 lldb::pid_t attach_pid = attach_info.GetProcessID(); in Attach() local
443 if (platform_sp->GetProcessInfo(attach_pid, instance_info)) { in Attach()
447 "no process found with process ID %" PRIu64, attach_pid); in Attach()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1066 lldb::pid_t attach_pid, const ProcessAttachInfo &attach_info) { in DoAttachToProcessWithID() argument
1074 if (attach_pid != LLDB_INVALID_PROCESS_ID) { in DoAttachToProcessWithID()
1081 ::snprintf(packet, sizeof(packet), "vAttach;%" PRIx64, attach_pid); in DoAttachToProcessWithID()
1082 SetID(attach_pid); in DoAttachToProcessWithID()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm3167 nub_process_t attach_pid;
3168 got_it = SBSProcessIDForDisplayIdentifier(bundleIDCFStr, &attach_pid);
3170 return attach_pid;