Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandOptionsProcessAttach.cpp38 attach_info.SetContinueOnceAttached(true); in SetOptionValue()
47 attach_info.SetProcessID(pid); in SetOptionValue()
52 attach_info.SetProcessPluginName(option_arg); in SetOptionValue()
56 attach_info.GetExecutableFile().SetFile(option_arg, in SetOptionValue()
61 attach_info.SetWaitForLaunch(true); in SetOptionValue()
65 attach_info.SetIgnoreExisting(false); in SetOptionValue()
H A DCommandOptionsProcessAttach.h35 attach_info.Clear(); in OptionParsingStarting()
42 lldb_private::ProcessAttachInfo attach_info; variable
H A DCommandObjectProcess.cpp337 m_options.attach_info.SetProcessPluginName("ScriptedProcess"); in DoExecute()
340 m_options.attach_info.SetScriptedMetadata(metadata_sp); in DoExecute()
352 const auto error = target->Attach(m_options.attach_info, &stream); in DoExecute()
406 if (m_options.attach_info.GetContinueOnceAttached()) { in DoExecute()
H A DCommandObjectPlatform.cpp1547 m_options.attach_info.SetProcessPluginName("ScriptedProcess"); in DoExecute()
1550 m_options.attach_info.SetScriptedMetadata(metadata_sp); in DoExecute()
1555 m_options.attach_info, GetDebugger(), nullptr, err); in DoExecute()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.h58 const ProcessAttachInfo &attach_info) override;
62 const ProcessAttachInfo &attach_info) override;
117 Status DoAttach(const ProcessAttachInfo &attach_info);
H A DScriptedProcess.cpp191 Status ScriptedProcess::DoAttach(const ProcessAttachInfo &attach_info) { in DoAttachToProcessWithID()
192 Status error = GetInterface().Attach(attach_info); in DoAttachToProcessWithID() argument
206 const ProcessAttachInfo &attach_info) {
207 return DoAttach(attach_info); in IsAlive()
211 const char *process_name, const ProcessAttachInfo &attach_info) { in DoReadMemory()
212 return DoAttach(attach_info); in DoReadMemory()
177 DoAttach(const ProcessAttachInfo & attach_info) DoAttach() argument
197 DoAttachToProcessWithName(const char * process_name,const ProcessAttachInfo & attach_info) DoAttachToProcessWithName() argument
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBTarget.cpp77 static Status AttachToProcess(ProcessAttachInfo &attach_info, Target &target) { in AttachToProcess() argument
87 if (attach_info.GetListener()) in AttachToProcess()
93 return target.Attach(attach_info, nullptr); in AttachToProcess()
444 ProcessAttachInfo &attach_info = sb_attach_info.ref(); in Attach() local
445 if (attach_info.ProcessIDIsValid() && !attach_info.UserIDIsValid() && in Attach()
446 !attach_info.IsScriptedProcess()) { in Attach()
450 lldb::pid_t attach_pid = attach_info.GetProcessID(); in Attach()
453 attach_info.SetUserID(instance_info.GetEffectiveUserID()); in Attach()
461 error.SetError(AttachToProcess(attach_info, *target_sp)); in Attach()
482 ProcessAttachInfo attach_info; in AttachToProcessWithID() local
[all …]
H A DSBProcess.cpp173 ProcessAttachInfo attach_info; in RemoteAttachToProcessWithID() local
174 attach_info.SetProcessID(pid); in RemoteAttachToProcessWithID()
175 error.SetError(process_sp->Attach(attach_info)); in RemoteAttachToProcessWithID()
/freebsd/contrib/llvm-project/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 process_sp->SetShadowListener(attach_info.GetShadowListener()); in Attach()
405 error = process_sp->Attach(attach_info); in Attach()
411 m_remote_platform_sp->Attach(attach_info, debugger, target, error); in Attach()
H A DPlatformPOSIX.h40 lldb::ProcessSP Attach(lldb_private::ProcessAttachInfo &attach_info,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedProcessPythonInterface.cpp60 ScriptedProcessPythonInterface::Attach(const ProcessAttachInfo &attach_info) { in Attach() argument
62 std::make_shared<ProcessAttachInfo>(attach_info); in Attach()
H A DScriptedPlatformPythonInterface.cpp81 ProcessAttachInfoSP attach_info) { in AttachToProcess() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedProcessPythonInterface.cpp
H A DScriptedPlatformPythonInterface.h
H A DScriptedProcessPythonInterface.h
H A DScriptedPlatformPythonInterface.cpp
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptedPlatformInterface.h
H A DScriptedProcessInterface.h
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp491 ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument
517 target->CreateProcess(attach_info.GetListenerForProcess(debugger), in Attach()
522 ListenerSP listener_sp = attach_info.GetHijackListener(); in Attach()
525 process_sp->SetShadowListener(attach_info.GetShadowListener()); in Attach()
526 error = process_sp->Attach(attach_info); in Attach()
H A DPlatformRemoteGDBServer.h64 lldb::ProcessSP Attach(ProcessAttachInfo &attach_info, Debugger &debugger,
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp86 const lldb::SBAttachInfo &attach_info) const { in GetOpaqueTypeFromSBAttachInfo()
87 return attach_info.m_opaque_sp; in GetOpaqueTypeFromSBAttachInfo()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.h42 lldb::ProcessSP Attach(ProcessAttachInfo &attach_info, Debugger &debugger, in Attach() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.h100 const ProcessAttachInfo &attach_info) override;
104 const ProcessAttachInfo &attach_info) override;
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DTarget.cpp3401 Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) { in Attach() argument
3418 if (!attach_info.ProcessInfoSpecified()) { in Attach()
3420 attach_info.GetExecutableFile().SetFilename( in Attach()
3423 if (!attach_info.ProcessInfoSpecified()) { in Attach()
3432 const bool async = attach_info.GetAsync(); in Attach()
3436 attach_info.SetHijackListener(hijack_listener_sp); in Attach()
3441 platform_sp->CanDebugProcess() && !attach_info.IsScriptedProcess()) { in Attach()
3443 process_sp = platform_sp->Attach(attach_info, GetDebugger(), this, error); in Attach()
3446 SaveScriptedLaunchInfo(attach_info); in Attach()
3447 llvm::StringRef plugin_name = attach_info.GetProcessPluginName(); in Attach()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h772 virtual Status Attach(ProcessAttachInfo &attach_info);
1007 const ProcessAttachInfo &attach_info) { in DoAttachToProcessWithID() argument
1030 const ProcessAttachInfo &attach_info) { in DoAttachToProcessWithName() argument

12