Home
last modified time | relevance | path

Searched refs:file_action (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DProcessLaunchInfo.cpp45 FileAction file_action; in ProcessLaunchInfo() local
48 if (file_action.Open(STDIN_FILENO, stdin_file_spec, read, write)) in ProcessLaunchInfo()
49 AppendFileAction(file_action); in ProcessLaunchInfo()
52 FileAction file_action; in ProcessLaunchInfo() local
55 if (file_action.Open(STDOUT_FILENO, stdout_file_spec, read, write)) in ProcessLaunchInfo()
56 AppendFileAction(file_action); in ProcessLaunchInfo()
59 FileAction file_action; in ProcessLaunchInfo() local
62 if (file_action.Open(STDERR_FILENO, stderr_file_spec, read, write)) in ProcessLaunchInfo()
63 AppendFileAction(file_action); in ProcessLaunchInfo()
70 FileAction file_action; in AppendCloseFileAction() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp334 const auto file_action = launch_info.GetFileActionAtIndex(i); in LaunchProcess() local
335 if (file_action->GetAction() != FileAction::eFileActionOpen) in LaunchProcess()
337 switch (file_action->GetFD()) { in LaunchProcess()
339 m_gdb_client_up->SetSTDIN(file_action->GetFileSpec()); in LaunchProcess()
342 m_gdb_client_up->SetSTDOUT(file_action->GetFileSpec()); in LaunchProcess()
345 m_gdb_client_up->SetSTDERR(file_action->GetFileSpec()); in LaunchProcess()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp920 FileAction file_action; in Handle_QSetSTDIN() local
925 if (file_action.Open(STDIN_FILENO, FileSpec(path), read, write)) { in Handle_QSetSTDIN()
926 m_process_launch_info.AppendFileAction(file_action); in Handle_QSetSTDIN()
936 FileAction file_action; in Handle_QSetSTDOUT() local
941 if (file_action.Open(STDOUT_FILENO, FileSpec(path), read, write)) { in Handle_QSetSTDOUT()
942 m_process_launch_info.AppendFileAction(file_action); in Handle_QSetSTDOUT()
952 FileAction file_action; in Handle_QSetSTDERR() local
957 if (file_action.Open(STDERR_FILENO, FileSpec(path), read, write)) { in Handle_QSetSTDERR()
958 m_process_launch_info.AppendFileAction(file_action); in Handle_QSetSTDERR()
H A DProcessGDBRemote.cpp628 const FileAction *file_action; in DoLaunch() local
629 file_action = launch_info.GetFileActionForFD(STDIN_FILENO); in DoLaunch()
630 if (file_action) { in DoLaunch()
631 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
632 stdin_file_spec = file_action->GetFileSpec(); in DoLaunch()
634 file_action = launch_info.GetFileActionForFD(STDOUT_FILENO); in DoLaunch()
635 if (file_action) { in DoLaunch()
636 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
637 stdout_file_spec = file_action->GetFileSpec(); in DoLaunch()
639 file_action = launch_info.GetFileActionForFD(STDERR_FILENO); in DoLaunch()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp469 const FileAction *file_action; in DebugProcess() local
470 while ((file_action = launch_info.GetFileActionAtIndex(i++)) != nullptr) { in DebugProcess()
471 file_action->Dump(stream); in DebugProcess()