forked from qt-creator/qt-creator
Merge branch '0.9.2-rc1' into 1.0.0
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;
|
||||||
|
@@ -40,8 +40,6 @@
|
|||||||
developers to create graphically appealing applications for desktop,
|
developers to create graphically appealing applications for desktop,
|
||||||
embedded, and mobile devices. Click on <strong>Getting Started</strong> to
|
embedded, and mobile devices. Click on <strong>Getting Started</strong> to
|
||||||
begin developing with Qt Creator.</p>
|
begin developing with Qt Creator.</p>
|
||||||
<!--<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>-->
|
|
||||||
<div class="get_started_container">
|
<div class="get_started_container">
|
||||||
|
|
||||||
<a class="btn_getting_started img_link" href="gh:getting-started"> </a>
|
<a class="btn_getting_started img_link" href="gh:getting-started"> </a>
|
||||||
|
@@ -72,8 +72,8 @@ public:
|
|||||||
QString name() const;
|
QString name() const;
|
||||||
QIcon icon() const;
|
QIcon icon() const;
|
||||||
int priority() const;
|
int priority() const;
|
||||||
QWidget* widget();
|
QWidget *widget();
|
||||||
const char* uniqueModeName() const;
|
const char *uniqueModeName() const;
|
||||||
QList<int> context() const;
|
QList<int> context() const;
|
||||||
void activated();
|
void activated();
|
||||||
QString contextHelpId() const { return QLatin1String("Qt Creator"); }
|
QString contextHelpId() const { return QLatin1String("Qt Creator"); }
|
||||||
|
@@ -1181,7 +1181,7 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
tryLoadCustomDumpers();
|
//tryLoadCustomDumpers();
|
||||||
|
|
||||||
// jump over well-known frames
|
// jump over well-known frames
|
||||||
static int stepCounter = 0;
|
static int stepCounter = 0;
|
||||||
@@ -3338,7 +3338,7 @@ void GdbEngine::handleQueryDataDumper2(const GdbResultRecord &record)
|
|||||||
tr("The debugged binary does not contain information needed for "
|
tr("The debugged binary does not contain information needed for "
|
||||||
"nice display of Qt data types.\n\n"
|
"nice display of Qt data types.\n\n"
|
||||||
"You might want to try including the file\n\n"
|
"You might want to try including the file\n\n"
|
||||||
".../ide/main/bin/gdbmacros/gdbmacros.cpp'\n\n"
|
".../share/qtcreator/gdbmacros/gdbmacros.cpp\n\n"
|
||||||
"into your project directly.")
|
"into your project directly.")
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@@ -3444,11 +3444,12 @@ void GdbEngine::handleEvaluateExpression(const GdbResultRecord &record,
|
|||||||
|
|
||||||
void GdbEngine::handleDumpCustomSetup(const GdbResultRecord &record)
|
void GdbEngine::handleDumpCustomSetup(const GdbResultRecord &record)
|
||||||
{
|
{
|
||||||
qDebug() << "CUSTOM SETUP RESULT: " << record.toString();
|
//qDebug() << "CUSTOM SETUP RESULT: " << record.toString();
|
||||||
if (record.resultClass == GdbResultDone) {
|
if (record.resultClass == GdbResultDone) {
|
||||||
} else if (record.resultClass == GdbResultError) {
|
} else if (record.resultClass == GdbResultError) {
|
||||||
QString msg = record.data.findChild("msg").data();
|
QString msg = record.data.findChild("msg").data();
|
||||||
qDebug() << "CUSTOM DUMPER SETUP ERROR MESSAGE: " << msg;
|
//qDebug() << "CUSTOM DUMPER SETUP ERROR MESSAGE: " << msg;
|
||||||
|
q->showStatusMessage(tr("Custom dumper setup: %1").arg(msg), 10000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3586,73 +3587,76 @@ void GdbEngine::handleDumpCustomValue2(const GdbResultRecord &record,
|
|||||||
|
|
||||||
void GdbEngine::updateLocals()
|
void GdbEngine::updateLocals()
|
||||||
{
|
{
|
||||||
setTokenBarrier();
|
setTokenBarrier();
|
||||||
|
|
||||||
m_pendingRequests = 0;
|
m_pendingRequests = 0;
|
||||||
PENDING_DEBUG("\nRESET PENDING");
|
|
||||||
m_toolTipCache.clear();
|
|
||||||
m_toolTipExpression.clear();
|
|
||||||
qq->watchHandler()->reinitializeWatchers();
|
|
||||||
|
|
||||||
int level = currentFrame();
|
PENDING_DEBUG("\nRESET PENDING");
|
||||||
// '2' is 'list with type and value'
|
m_toolTipCache.clear();
|
||||||
QString cmd = QString("-stack-list-arguments 2 %1 %2").arg(level).arg(level);
|
m_toolTipExpression.clear();
|
||||||
sendSynchronizedCommand(cmd, StackListArguments); // stage 1/2
|
qq->watchHandler()->reinitializeWatchers();
|
||||||
// '2' is 'list with type and value'
|
|
||||||
sendSynchronizedCommand("-stack-list-locals 2", StackListLocals); // stage 2/2
|
int level = currentFrame();
|
||||||
|
// '2' is 'list with type and value'
|
||||||
|
QString cmd = QString("-stack-list-arguments 2 %1 %2").arg(level).arg(level);
|
||||||
|
sendSynchronizedCommand(cmd, StackListArguments); // stage 1/2
|
||||||
|
// '2' is 'list with type and value'
|
||||||
|
sendSynchronizedCommand("-stack-list-locals 2", StackListLocals); // stage 2/2
|
||||||
|
|
||||||
|
tryLoadCustomDumpers();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbEngine::handleStackListArguments(const GdbResultRecord &record)
|
void GdbEngine::handleStackListArguments(const GdbResultRecord &record)
|
||||||
{
|
{
|
||||||
// stage 1/2
|
// stage 1/2
|
||||||
|
|
||||||
// Linux:
|
// Linux:
|
||||||
// 12^done,stack-args=
|
// 12^done,stack-args=
|
||||||
// [frame={level="0",args=[
|
// [frame={level="0",args=[
|
||||||
// {name="argc",type="int",value="1"},
|
// {name="argc",type="int",value="1"},
|
||||||
// {name="argv",type="char **",value="(char **) 0x7..."}]}]
|
// {name="argv",type="char **",value="(char **) 0x7..."}]}]
|
||||||
// Mac:
|
// Mac:
|
||||||
// 78^done,stack-args=
|
// 78^done,stack-args=
|
||||||
// {frame={level="0",args={
|
// {frame={level="0",args={
|
||||||
// varobj=
|
// varobj=
|
||||||
// {exp="this",value="0x38a2fab0",name="var21",numchild="3",
|
// {exp="this",value="0x38a2fab0",name="var21",numchild="3",
|
||||||
// type="CurrentDocumentFind * const",typecode="PTR",
|
// type="CurrentDocumentFind * const",typecode="PTR",
|
||||||
// dynamic_type="",in_scope="true",block_start_addr="0x3938e946",
|
// dynamic_type="",in_scope="true",block_start_addr="0x3938e946",
|
||||||
// block_end_addr="0x3938eb2d"},
|
// block_end_addr="0x3938eb2d"},
|
||||||
// varobj=
|
// varobj=
|
||||||
// {exp="before",value="@0xbfffb9f8: {d = 0x3a7f2a70}",
|
// {exp="before",value="@0xbfffb9f8: {d = 0x3a7f2a70}",
|
||||||
// name="var22",numchild="1",type="const QString ...} }}}
|
// name="var22",numchild="1",type="const QString ...} }}}
|
||||||
//
|
//
|
||||||
// In both cases, iterating over the children of stack-args/frame/args
|
// In both cases, iterating over the children of stack-args/frame/args
|
||||||
// is ok.
|
// is ok.
|
||||||
m_currentFunctionArgs.clear();
|
m_currentFunctionArgs.clear();
|
||||||
if (record.resultClass == GdbResultDone) {
|
if (record.resultClass == GdbResultDone) {
|
||||||
const GdbMi list = record.data.findChild("stack-args");
|
const GdbMi list = record.data.findChild("stack-args");
|
||||||
const GdbMi frame = list.findChild("frame");
|
const GdbMi frame = list.findChild("frame");
|
||||||
const GdbMi args = frame.findChild("args");
|
const GdbMi args = frame.findChild("args");
|
||||||
m_currentFunctionArgs = args.children();
|
m_currentFunctionArgs = args.children();
|
||||||
} else if (record.resultClass == GdbResultError) {
|
} else if (record.resultClass == GdbResultError) {
|
||||||
qDebug() << "FIXME: GdbEngine::handleStackListArguments: should not happen";
|
qDebug() << "FIXME: GdbEngine::handleStackListArguments: should not happen";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbEngine::handleStackListLocals(const GdbResultRecord &record)
|
void GdbEngine::handleStackListLocals(const GdbResultRecord &record)
|
||||||
{
|
{
|
||||||
// stage 2/2
|
// stage 2/2
|
||||||
|
|
||||||
// There could be shadowed variables
|
// There could be shadowed variables
|
||||||
QList<GdbMi> locals = record.data.findChild("locals").children();
|
QList<GdbMi> locals = record.data.findChild("locals").children();
|
||||||
locals += m_currentFunctionArgs;
|
locals += m_currentFunctionArgs;
|
||||||
|
|
||||||
setLocals(locals);
|
setLocals(locals);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbEngine::setLocals(const QList<GdbMi> &locals)
|
void GdbEngine::setLocals(const QList<GdbMi> &locals)
|
||||||
{
|
{
|
||||||
//qDebug() << m_varToType;
|
//qDebug() << m_varToType;
|
||||||
QHash<QString, int> seen;
|
QHash<QString, int> seen;
|
||||||
|
|
||||||
foreach (const GdbMi &item, locals) {
|
foreach (const GdbMi &item, locals) {
|
||||||
// Local variables of inlined code are reported as
|
// Local variables of inlined code are reported as
|
||||||
// 26^done,locals={varobj={exp="this",value="",name="var4",exp="this",
|
// 26^done,locals={varobj={exp="this",value="",name="var4",exp="this",
|
||||||
// numchild="1",type="const QtSharedPointer::Basic<CPlusPlus::..."
|
// numchild="1",type="const QtSharedPointer::Basic<CPlusPlus::..."
|
||||||
@@ -3958,15 +3962,17 @@ void GdbEngine::tryLoadCustomDumpers()
|
|||||||
QString lib = q->m_buildDir + "/qtc-gdbmacros/libgdbmacros.so";
|
QString lib = q->m_buildDir + "/qtc-gdbmacros/libgdbmacros.so";
|
||||||
if (QFileInfo(lib).isExecutable()) {
|
if (QFileInfo(lib).isExecutable()) {
|
||||||
//sendCommand("p dlopen");
|
//sendCommand("p dlopen");
|
||||||
if (qq->useFastStart())
|
//if (qq->useFastStart())
|
||||||
sendCommand("set stop-on-solib-events 0");
|
// sendCommand("set stop-on-solib-events 0");
|
||||||
QString flag = QString::number(RTLD_NOW);
|
QString flag = QString::number(RTLD_NOW);
|
||||||
sendCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")");
|
sendSynchronizedCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")",
|
||||||
|
WatchDumpCustomSetup);
|
||||||
// some older systems like CentOS 4.6 prefer this:
|
// some older systems like CentOS 4.6 prefer this:
|
||||||
sendCommand("call (void)__dlopen(\"" + lib + "\", " + flag + ")");
|
sendSynchronizedCommand("call (void)__dlopen(\"" + lib + "\", " + flag + ")",
|
||||||
sendCommand("sharedlibrary " + dotEscape(lib));
|
WatchDumpCustomSetup);
|
||||||
if (qq->useFastStart())
|
sendSynchronizedCommand("sharedlibrary " + dotEscape(lib));
|
||||||
sendCommand("set stop-on-solib-events 1");
|
//if (qq->useFastStart())
|
||||||
|
// sendCommand("set stop-on-solib-events 1");
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "DEBUG HELPER LIBRARY IS NOT USABLE: "
|
qDebug() << "DEBUG HELPER LIBRARY IS NOT USABLE: "
|
||||||
<< lib << QFileInfo(lib).isExecutable();
|
<< lib << QFileInfo(lib).isExecutable();
|
||||||
@@ -3976,13 +3982,14 @@ void GdbEngine::tryLoadCustomDumpers()
|
|||||||
QString lib = q->m_buildDir + "/qtc-gdbmacros/libgdbmacros.dylib";
|
QString lib = q->m_buildDir + "/qtc-gdbmacros/libgdbmacros.dylib";
|
||||||
if (QFileInfo(lib).isExecutable()) {
|
if (QFileInfo(lib).isExecutable()) {
|
||||||
//sendCommand("p dlopen"); // FIXME: remove me
|
//sendCommand("p dlopen"); // FIXME: remove me
|
||||||
if (qq->useFastStart())
|
//if (qq->useFastStart())
|
||||||
sendCommand("set stop-on-solib-events 0");
|
// sendCommand("set stop-on-solib-events 0");
|
||||||
QString flag = QString::number(RTLD_NOW);
|
QString flag = QString::number(RTLD_NOW);
|
||||||
sendCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")");
|
sendSynchronizedCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")",
|
||||||
sendCommand("sharedlibrary " + dotEscape(lib));
|
WatchDumpCustomSetup);
|
||||||
if (qq->useFastStart())
|
sendSynchronizedCommand("sharedlibrary " + dotEscape(lib));
|
||||||
sendCommand("set stop-on-solib-events 1");
|
//if (qq->useFastStart())
|
||||||
|
// sendCommand("set stop-on-solib-events 1");
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "DEBUG HELPER LIBRARY IS NOT USABLE: "
|
qDebug() << "DEBUG HELPER LIBRARY IS NOT USABLE: "
|
||||||
<< lib << QFileInfo(lib).isExecutable();
|
<< lib << QFileInfo(lib).isExecutable();
|
||||||
@@ -3991,14 +3998,15 @@ void GdbEngine::tryLoadCustomDumpers()
|
|||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
QString lib = q->m_buildDir + "/qtc-gdbmacros/debug/gdbmacros.dll";
|
QString lib = q->m_buildDir + "/qtc-gdbmacros/debug/gdbmacros.dll";
|
||||||
if (QFileInfo(lib).exists()) {
|
if (QFileInfo(lib).exists()) {
|
||||||
if (qq->useFastStart())
|
//if (qq->useFastStart())
|
||||||
sendCommand("set stop-on-solib-events 0");
|
// sendCommand("set stop-on-solib-events 0");
|
||||||
//sendCommand("handle SIGSEGV pass stop print");
|
//sendCommand("handle SIGSEGV pass stop print");
|
||||||
//sendCommand("set unwindonsignal off");
|
//sendCommand("set unwindonsignal off");
|
||||||
sendCommand("call LoadLibraryA(\"" + lib + "\")");
|
sendSynchronizedCommand("call LoadLibraryA(\"" + lib + "\")",
|
||||||
sendCommand("sharedlibrary " + dotEscape(lib));
|
WatchDumpCustomSetup);
|
||||||
if (qq->useFastStart())
|
sendSynchronizedCommand("sharedlibrary " + dotEscape(lib));
|
||||||
sendCommand("set stop-on-solib-events 1");
|
//if (qq->useFastStart())
|
||||||
|
// sendCommand("set stop-on-solib-events 1");
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "DEBUG HELPER LIBRARY IS NOT USABLE: "
|
qDebug() << "DEBUG HELPER LIBRARY IS NOT USABLE: "
|
||||||
<< lib << QFileInfo(lib).isExecutable();
|
<< lib << QFileInfo(lib).isExecutable();
|
||||||
@@ -4006,9 +4014,9 @@ void GdbEngine::tryLoadCustomDumpers()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// retreive list of dumpable classes
|
// retreive list of dumpable classes
|
||||||
sendCommand("call qDumpObjectData440(1,%1+1,0,0,0,0,0,0)",
|
sendSynchronizedCommand("call qDumpObjectData440(1,%1+1,0,0,0,0,0,0)",
|
||||||
GdbQueryDataDumper1);
|
GdbQueryDataDumper1);
|
||||||
sendCommand("p (char*)qDumpOutBuffer", GdbQueryDataDumper2);
|
sendSynchronizedCommand("p (char*)qDumpOutBuffer", GdbQueryDataDumper2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -33,7 +33,8 @@
|
|||||||
|
|
||||||
#include "procinterrupt.h"
|
#include "procinterrupt.h"
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#if defined(Q_OS_WIN)
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <Tlhelp32.h>
|
#include <Tlhelp32.h>
|
||||||
|
|
||||||
@@ -75,7 +76,37 @@ DWORD findProcessId(DWORD parentId)
|
|||||||
CloseHandle(hProcList);
|
CloseHandle(hProcList);
|
||||||
return procId;
|
return procId;
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
|
bool Debugger::Internal::interruptProcess(int pID)
|
||||||
|
{
|
||||||
|
DWORD pid = pID;
|
||||||
|
if (!pid)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
PtrCreateRemoteThread libFunc = resolveCreateRemoteThread();
|
||||||
|
if (libFunc) {
|
||||||
|
DWORD dwThreadId = 0;
|
||||||
|
HANDLE hproc = OpenProcess(PROCESS_ALL_ACCESS, false, pid);
|
||||||
|
HANDLE hthread = libFunc(hproc, NULL, 0, (LPTHREAD_START_ROUTINE)DebugBreak, 0, 0, &dwThreadId);
|
||||||
|
CloseHandle(hthread);
|
||||||
|
if (dwThreadId)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Debugger::Internal::interruptChildProcess(Q_PID parentPID)
|
||||||
|
{
|
||||||
|
DWORD pid = findProcessId(parentPID->dwProcessId);
|
||||||
|
return interruptProcess(pid);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // defined(Q_OS_WIN)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||||
|
|
||||||
#include <QtCore/QLatin1String>
|
#include <QtCore/QLatin1String>
|
||||||
#include <QtCore/QString>
|
#include <QtCore/QString>
|
||||||
@@ -89,12 +120,14 @@ DWORD findProcessId(DWORD parentId)
|
|||||||
|
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
|
||||||
#define OPProcessValueUnknown UINT_MAX
|
|
||||||
|
using namespace Debugger::Internal;
|
||||||
|
|
||||||
/* Mac OS X
|
/* Mac OS X
|
||||||
int OPParentIDForProcessID(int pid)
|
int OPParentIDForProcessID(int pid)
|
||||||
// Returns the parent process id for the given process id (pid)
|
// Returns the parent process id for the given process id (pid)
|
||||||
{
|
{
|
||||||
|
const uint OPProcessValueUnknown = UINT_MAX;
|
||||||
struct kinfo_proc info;
|
struct kinfo_proc info;
|
||||||
size_t length = sizeof(struct kinfo_proc);
|
size_t length = sizeof(struct kinfo_proc);
|
||||||
int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid };
|
int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid };
|
||||||
@@ -140,44 +173,21 @@ int findChildProcess(int parentId)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool Debugger::Internal::interruptProcess(int pID)
|
bool Debugger::Internal::interruptProcess(int pID)
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_WIN
|
|
||||||
DWORD pid = pID;
|
|
||||||
if (!pid)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
PtrCreateRemoteThread libFunc = resolveCreateRemoteThread();
|
|
||||||
if (libFunc) {
|
|
||||||
DWORD dwThreadId = 0;
|
|
||||||
HANDLE hproc = OpenProcess(PROCESS_ALL_ACCESS, false, pid);
|
|
||||||
HANDLE hthread = libFunc(hproc, NULL, 0, (LPTHREAD_START_ROUTINE)DebugBreak, 0, 0, &dwThreadId);
|
|
||||||
CloseHandle(hthread);
|
|
||||||
if (dwThreadId)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
#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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Debugger::Internal::interruptChildProcess(Q_PID parentPID)
|
bool Debugger::Internal::interruptChildProcess(Q_PID parentPID)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
|
||||||
DWORD pid = findProcessId(parentPID->dwProcessId);
|
|
||||||
return interruptProcess(pid);
|
|
||||||
#else
|
|
||||||
int procId = findChildProcess(parentPID);
|
int procId = findChildProcess(parentPID);
|
||||||
//qDebug() << "INTERRUPTING PROCESS" << procId;
|
//qDebug() << "INTERRUPTING PROCESS" << procId;
|
||||||
return interruptProcess(procId);
|
return interruptProcess(procId);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||||
|
Reference in New Issue
Block a user