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 <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
@@ -2484,6 +2485,7 @@ void qDumpObjectData440(
|
|||||||
int extraInt2,
|
int extraInt2,
|
||||||
int extraInt3)
|
int extraInt3)
|
||||||
{
|
{
|
||||||
|
//sleep(20);
|
||||||
if (protocolVersion == 1) {
|
if (protocolVersion == 1) {
|
||||||
QDumper d;
|
QDumper d;
|
||||||
d.protocolVersion = protocolVersion;
|
d.protocolVersion = protocolVersion;
|
||||||
|
@@ -161,7 +161,7 @@ bool Debugger::Internal::interruptProcess(int pID)
|
|||||||
#else
|
#else
|
||||||
int procId = pID;
|
int procId = pID;
|
||||||
if (procId != -1) {
|
if (procId != -1) {
|
||||||
if (kill(procId, 2) == 0)
|
if (kill(procId, SIGINT) == 0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user