Home
last modified time | relevance | path

Searched refs:attach_info (Results 1 – 25 of 39) sorted by relevance

12

/openbsd/gnu/llvm/lldb/examples/python/
H A Dprocess_events.py230 attach_info = None
242 attach_info = lldb.SBAttachInfo(options.attach_pid)
248 attach_info = lldb.SBAttachInfo(
299 process = target.Attach(attach_info, error)
306 if attach_info:
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/Windows/
H A DPlatformWindows.cpp491 ProcessAttachInfo attach_info(launch_info); in DebugProcess() local
492 return Attach(attach_info, debugger, &target, error); in DebugProcess()
509 lldb::ProcessSP PlatformWindows::Attach(ProcessAttachInfo &attach_info, in Attach() argument
517 m_remote_platform_sp->Attach(attach_info, debugger, target, error); in Attach()
536 const char *plugin_name = attach_info.GetProcessPluginName(); in Attach()
538 attach_info.GetListenerForProcess(debugger), plugin_name, nullptr, false); in Attach()
540 process_sp->HijackProcessEvents(attach_info.GetHijackListener()); in Attach()
542 error = process_sp->Attach(attach_info); in Attach()
H A DPlatformWindows.h61 lldb::ProcessSP Attach(lldb_private::ProcessAttachInfo &attach_info,
/openbsd/gnu/llvm/lldb/source/API/
H A DSBTarget.cpp86 if (attach_info.GetListener()) in AttachToProcess()
92 return target.Attach(attach_info, nullptr); in AttachToProcess()
436 ProcessAttachInfo &attach_info = sb_attach_info.ref(); in Attach() local
437 if (attach_info.ProcessIDIsValid() && !attach_info.UserIDIsValid()) { in Attach()
441 lldb::pid_t attach_pid = attach_info.GetProcessID(); in Attach()
473 ProcessAttachInfo attach_info; in AttachToProcessWithID() local
474 attach_info.SetProcessID(pid); in AttachToProcessWithID()
476 attach_info.SetListener(listener.GetSP()); in AttachToProcessWithID()
503 ProcessAttachInfo attach_info; in AttachToProcessWithName() local
505 attach_info.SetWaitForLaunch(wait_for); in AttachToProcessWithName()
[all …]
/openbsd/gnu/llvm/lldb/examples/python/scripted_process/
H A Dscripted_platform.py63 def attach_to_process(self, attach_info): argument
/openbsd/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.h75 const lldb_private::ProcessAttachInfo &attach_info) override;
79 const lldb_private::ProcessAttachInfo &attach_info) override;
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp363 lldb::ProcessSP PlatformPOSIX::Attach(ProcessAttachInfo &attach_info, in Attach() argument
393 target->CreateProcess(attach_info.GetListenerForProcess(debugger), in Attach()
397 ListenerSP listener_sp = attach_info.GetHijackListener(); in Attach()
401 attach_info.SetHijackListener(listener_sp); in Attach()
404 error = process_sp->Attach(attach_info); in Attach()
410 m_remote_platform_sp->Attach(attach_info, debugger, target, error); in Attach()
H A DPlatformPOSIX.h40 lldb::ProcessSP Attach(lldb_private::ProcessAttachInfo &attach_info,
/openbsd/gnu/llvm/lldb/source/Commands/
H A DCommandObjectProcess.cpp323 attach_info.SetContinueOnceAttached(true); in SetOptionValue()
332 attach_info.SetProcessID(pid); in SetOptionValue()
337 attach_info.SetProcessPluginName(option_arg); in SetOptionValue()
341 attach_info.GetExecutableFile().SetFile(option_arg, in SetOptionValue()
346 attach_info.SetWaitForLaunch(true); in SetOptionValue()
350 attach_info.SetIgnoreExisting(false); in SetOptionValue()
360 attach_info.Clear(); in OptionParsingStarting()
367 ProcessAttachInfo attach_info; member in CommandObjectProcessAttach::CommandOptions
421 const auto error = target->Attach(m_options.attach_info, &stream); in DoExecute()
475 if (m_options.attach_info.GetContinueOnceAttached()) { in DoExecute()
H A DCommandObjectPlatform.cpp1596 attach_info.SetProcessID(pid); in SetOptionValue()
1601 attach_info.SetProcessPluginName(option_arg); in SetOptionValue()
1605 attach_info.GetExecutableFile().SetFile(option_arg, in SetOptionValue()
1610 attach_info.SetWaitForLaunch(true); in SetOptionValue()
1620 attach_info.Clear(); in OptionParsingStarting()
1633 ProcessAttachInfo attach_info; member in CommandObjectPlatformProcessAttach::CommandOptions
1649 m_options.attach_info, GetDebugger(), nullptr, err); in DoExecute()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DDebuggerThread.cpp68 const ProcessAttachInfo &attach_info) { in DebugAttach() argument
74 "lldb.plugin.process-windows.secondary[?]", [this, pid, attach_info] { in DebugAttach()
75 return DebuggerThreadAttachRoutine(pid, attach_info); in DebugAttach()
113 lldb::pid_t pid, const ProcessAttachInfo &attach_info) { in DebuggerThreadAttachRoutine() argument
H A DDebuggerThread.h33 Status DebugAttach(lldb::pid_t pid, const ProcessAttachInfo &attach_info);
H A DProcessDebugger.cpp172 const ProcessAttachInfo &attach_info, in AttachProcess() argument
176 new ProcessWindowsData(!attach_info.GetContinueOnceAttached())); in AttachProcess()
182 Status error = debugger->DebugAttach(process_id, attach_info); in AttachProcess()
H A DProcessDebugger.h71 Status AttachProcess(lldb::pid_t pid, const ProcessAttachInfo &attach_info,
H A DNativeProcessWindows.cpp69 ProcessAttachInfo attach_info; in NativeProcessWindows() local
70 attach_info.SetProcessID(pid); in NativeProcessWindows()
71 E = AttachProcess(pid, attach_info, delegate_sp).ToError(); in NativeProcessWindows()
H A DProcessWindows.h54 const lldb_private::ProcessAttachInfo &attach_info) override;
/openbsd/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPlatformPythonInterface.h35 Status AttachToProcess(lldb::ProcessAttachInfoSP attach_info) override;
H A DScriptedPlatformPythonInterface.cpp93 ProcessAttachInfoSP attach_info) { in AttachToProcess() argument
/openbsd/gnu/llvm/lldb/include/lldb/Interpreter/
H A DScriptedPlatformInterface.h35 virtual Status AttachToProcess(lldb::ProcessAttachInfoSP attach_info) { in AttachToProcess() argument
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.h42 lldb::ProcessSP Attach(ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp484 ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument
510 target->CreateProcess(attach_info.GetListenerForProcess(debugger), in Attach()
515 ListenerSP listener_sp = attach_info.GetHijackListener(); in Attach()
518 error = process_sp->Attach(attach_info); in Attach()
H A DPlatformRemoteGDBServer.h64 lldb::ProcessSP Attach(ProcessAttachInfo &attach_info, Debugger &debugger,
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformAppleSimulator.cpp198 ProcessAttachInfo attach_info(launch_info); in DebugProcess() local
199 process_sp = Attach(attach_info, debugger, &target, error); in DebugProcess()
201 launch_info.SetHijackListener(attach_info.GetHijackListener()); in DebugProcess()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.h97 const ProcessAttachInfo &attach_info) override;
101 const ProcessAttachInfo &attach_info) override;
/openbsd/gnu/llvm/lldb/tools/lldb-vscode/
H A Dlldb-vscode.cpp594 lldb::SBAttachInfo attach_info; in request_attach() local
599 attach_info.SetProcessID(pid); in request_attach()
601 attach_info.SetWaitForLaunch(wait_for, false /*async*/); in request_attach()
654 g_vsc.target.Attach(attach_info, error); in request_attach()
1554 lldb::SBAttachInfo attach_info; in request_runInTerminal() local
1575 attach_info.SetProcessID(*pid); in request_runInTerminal()
1581 g_vsc.target.Attach(attach_info, error); in request_runInTerminal()

12