forked from qt-creator/qt-creator
debugger: hard-code some qt5 related paths
This is not a final solution. Change-Id: I19e7a99e1b056704864d27855197678a0d3fd10b Reviewed-on: http://codereview.qt-project.org/5073 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -741,7 +741,7 @@ bool CdbEngine::launchCDB(const DebuggerStartParameters &sp, QString *errorMessa
|
||||
const QString extensionFileName = extensionFi.fileName();
|
||||
// Prepare arguments
|
||||
QStringList arguments;
|
||||
const bool isRemote = sp.startMode == AttachToRemote;
|
||||
const bool isRemote = sp.startMode == AttachToRemoteServer;
|
||||
if (isRemote) { // Must be first
|
||||
arguments << QLatin1String("-remote") << sp.remoteChannel;
|
||||
} else {
|
||||
@@ -767,7 +767,7 @@ bool CdbEngine::launchCDB(const DebuggerStartParameters &sp, QString *errorMessa
|
||||
nativeArguments.push_back(blank);
|
||||
nativeArguments += QDir::toNativeSeparators(sp.executable);
|
||||
break;
|
||||
case AttachToRemote:
|
||||
case AttachToRemoteServer:
|
||||
break;
|
||||
case AttachExternal:
|
||||
case AttachCrashedExternal:
|
||||
@@ -942,7 +942,7 @@ void CdbEngine::shutdownEngine()
|
||||
if (startParameters().startMode == AttachExternal || startParameters().startMode == AttachCrashedExternal)
|
||||
detachDebugger();
|
||||
// Remote requires a bit more force to quit.
|
||||
if (m_effectiveStartMode == AttachToRemote) {
|
||||
if (m_effectiveStartMode == AttachToRemoteServer) {
|
||||
postCommand(m_extensionCommandPrefixBA + "shutdownex", 0);
|
||||
postCommand("qq", 0);
|
||||
} else {
|
||||
@@ -1152,7 +1152,7 @@ void CdbEngine::doContinueInferior()
|
||||
|
||||
bool CdbEngine::canInterruptInferior() const
|
||||
{
|
||||
return m_effectiveStartMode != AttachToRemote && inferiorPid();
|
||||
return m_effectiveStartMode != AttachToRemoteServer && inferiorPid();
|
||||
}
|
||||
|
||||
void CdbEngine::interruptInferior()
|
||||
|
||||
Reference in New Issue
Block a user