llvm-project/lldb/source/Plugins/Process/Linux
Tamas Berghammer 14f4476a88 Truncate target file for stdout and stderr
Add O_TRUNC when opening file for redirecting stdout and stderr of the
process. It is neccessary because if the file exists then on some
platform the original content is kept while it isn't overwritten by the
new data causing pollution of the saved stdout and stderr.

llvm-svn: 230492
2015-02-25 13:21:45 +00:00
..
CMakeLists.txt Fixup gtest layout, add Linux ThreadStateCoordinator.cpp. 2014-09-25 19:25:07 +00:00
LinuxThread.cpp FreeBSD hardware watchpoint implementation 2014-02-19 18:34:06 +00:00
LinuxThread.h Enable llgs to build against experimental Android AOSP lldb/llvm/clang/compiler-rt repos. 2014-09-27 16:54:22 +00:00
Makefile Fix configure & make build with python disabled 2014-09-09 04:52:37 +00:00
NativeProcessLinux.cpp Truncate target file for stdout and stderr 2015-02-25 13:21:45 +00:00
NativeProcessLinux.h Prevent LLGS from crashing when exiting - make NativeProcessLinux to wait until ThreadStateCoordinator is fully stopped before entering ~NativeProcessLinux. 2015-02-19 17:58:04 +00:00
NativeRegisterContextLinux_x86_64.cpp Watchpoint debug registers should work in i386 as well. 2015-02-17 15:41:26 +00:00
NativeRegisterContextLinux_x86_64.h Fix four missing 'override' specifiers found with the Clang 2015-02-13 08:07:00 +00:00
NativeThreadLinux.cpp Prevent LLGS from crashing when exiting - make NativeProcessLinux to wait until ThreadStateCoordinator is fully stopped before entering ~NativeProcessLinux. 2015-02-19 17:58:04 +00:00
NativeThreadLinux.h Implement setting and clearing watchpoints. 2015-02-03 01:51:47 +00:00
ProcFileReader.cpp Factored out Linux proc file reading into separate class. 2014-06-30 04:14:13 +00:00
ProcFileReader.h Factored out Linux proc file reading into separate class. 2014-06-30 04:14:13 +00:00
ProcessLinux.cpp Enable local llgs debugging on Linux when the use-llgs-for-local setting is enabled. 2014-10-10 00:09:16 +00:00
ProcessLinux.h Enable llgs to build against experimental Android AOSP lldb/llvm/clang/compiler-rt repos. 2014-09-27 16:54:22 +00:00
ProcessMonitor.cpp Fix TestProcesslaunch regression caused by D7372 2015-02-06 11:32:52 +00:00
ProcessMonitor.h Fix TestProcesslaunch regression caused by D7372 2015-02-06 11:32:52 +00:00
ThreadStateCoordinator.cpp Make ThreadStateCoordinator to handle properly failed stop/resume operations. 2015-02-03 01:51:30 +00:00
ThreadStateCoordinator.h Make ThreadStateCoordinator to handle properly failed stop/resume operations. 2015-02-03 01:51:30 +00:00