diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp')
-rw-r--r-- | packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp b/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp index 448304d83c75..15170a3e5eb5 100644 --- a/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp +++ b/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp @@ -15,7 +15,7 @@ #include <stdio.h> #include <stdlib.h> - +#include <string.h> #include "lldb/API/LLDB.h" #include "lldb/API/SBCommandInterpreter.h" @@ -217,6 +217,10 @@ void *do_one_debugger (void *in) int main (int argc, char **argv) { +#if !defined(_MSC_VER) + signal(SIGPIPE, SIG_IGN); +#endif + SBDebugger::Initialize(); completed_threads_array = (bool *) malloc (sizeof (bool) * NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS); |