forked from qt-creator/qt-creator
Fixes: debugger: revert accidental parts of b0650238
This commit is contained in:
@@ -68,6 +68,7 @@ int qtGhVersion = QT_VERSION;
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
# include <windows.h>
|
||||
@@ -2484,6 +2485,7 @@ void qDumpObjectData440(
|
||||
int extraInt2,
|
||||
int extraInt3)
|
||||
{
|
||||
//sleep(20);
|
||||
if (protocolVersion == 1) {
|
||||
QDumper d;
|
||||
d.protocolVersion = protocolVersion;
|
||||
|
@@ -161,7 +161,7 @@ bool Debugger::Internal::interruptProcess(int pID)
|
||||
#else
|
||||
int procId = pID;
|
||||
if (procId != -1) {
|
||||
if (kill(procId, 2) == 0)
|
||||
if (kill(procId, SIGINT) == 0)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user