From 482e8b4447563f0bcb7bbb14aa61f564af53e34d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 1 Nov 2009 10:20:13 +0000 Subject: [PATCH] voodoo --- library/DFProcess.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/library/DFProcess.cpp b/library/DFProcess.cpp index 857972e60..91a914f9f 100644 --- a/library/DFProcess.cpp +++ b/library/DFProcess.cpp @@ -122,7 +122,15 @@ bool Process::attach() { status = kill(my_handle,SIGSTOP); cout << "sent SIGSTOP" << endl; - if(status != -1) break; + if(status != -1) + { + break; + } + else + { + perror("kill(SIGSTOP)"); + cin.ignore(); + } } while (!isStopped(my_handle)) {