From 209e3a14867db64967a05e34bef97f15afdbebe7 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 12 Mar 2019 17:31:04 +0000 Subject: [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 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp') 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(history_file.GetPath(), EC, - sys::fs::OpenFlags::F_None); + sys::fs::OpenFlags::F_Text); return m_stream_up.get(); } -- cgit v1.2.3