diff options
-rw-r--r-- | synchronizer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp index edecbb1..e6a4d56 100644 --- a/synchronizer/main.cpp +++ b/synchronizer/main.cpp | |||
@@ -105,7 +105,7 @@ void crashHandler(int signal) | |||
105 | //Get the word out that we're going down | 105 | //Get the word out that we're going down |
106 | listener->emergencyAbortAllConnections(); | 106 | listener->emergencyAbortAllConnections(); |
107 | 107 | ||
108 | std::cout << "Sleeping for 10s to attach a debugger: gdb attach " << getpid(); | 108 | std::fprintf(stdout, "Sleeping for 10s to attach a debugger: gdb attach %i\n", getpid()); |
109 | std::this_thread::sleep_for(std::chrono::seconds(10)); | 109 | std::this_thread::sleep_for(std::chrono::seconds(10)); |
110 | 110 | ||
111 | // std::system("exec gdb -p \"$PPID\" -ex \"thread apply all bt\""); | 111 | // std::system("exec gdb -p \"$PPID\" -ex \"thread apply all bt\""); |