summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-12 17:31:04 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-12 17:31:04 +0000
commit209e3a14867db64967a05e34bef97f15afdbebe7 (patch)
tree1b5743c3ee480229fb9709bc43143ff3be1ff3b1 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent5650eb5b005fbb987c515c8354eac85130b393a4 (diff)
downloadbcm5719-llvm-209e3a14867db64967a05e34bef97f15afdbebe7.tar.gz
bcm5719-llvm-209e3a14867db64967a05e34bef97f15afdbebe7.zip
[Reproducers] Add a test to ensure we can reuse the reproducer dir.
Yesterday I noticed a reproducer test failing after making a local change. Removing the reproducer directory solved the issue. Add a test case that detects this. llvm-svn: 355941
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 1b9c5d610d5..6200486a67f 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -178,7 +178,7 @@ public:
std::error_code EC;
m_stream_up = llvm::make_unique<raw_fd_ostream>(history_file.GetPath(), EC,
- sys::fs::OpenFlags::F_None);
+ sys::fs::OpenFlags::F_Text);
return m_stream_up.get();
}
OpenPOWER on IntegriCloud