forked from qt-creator/qt-creator
debugger: merge a few #ifdef Q_OS_WIN's
This commit is contained in:
@@ -37,9 +37,7 @@
|
||||
#include "abstractgdbprocess.h"
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#ifdef Q_OS_WIN
|
||||
#include <utils/qtcprocess.h>
|
||||
#endif
|
||||
|
||||
#include <QtCore/QProcess>
|
||||
|
||||
@@ -82,9 +80,9 @@ bool AbstractGdbAdapter::isTrkAdapter() const
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
bool AbstractGdbAdapter::prepareWinCommand()
|
||||
bool AbstractGdbAdapter::prepareCommand()
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
Utils::QtcProcess::SplitError perr;
|
||||
startParameters().processArgs = Utils::QtcProcess::prepareArgs(
|
||||
startParameters().processArgs, &perr,
|
||||
@@ -96,9 +94,9 @@ bool AbstractGdbAdapter::prepareWinCommand()
|
||||
"Debugging complex command lines is currently not supported under Windows"), QString());
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
QString AbstractGdbAdapter::msgGdbStopFailed(const QString &why)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user