forked from qt-creator/qt-creator
Debugger: Remove some path mapping
This reverts 67607e4bc6
, which seems
not needed anymore.
Change-Id: I7c995fc158bb26acf3b4a8ad4b810fa427fcf009
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -892,9 +892,6 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl, AllowTerminal allowTerm
|
|||||||
}
|
}
|
||||||
|
|
||||||
Runnable inferior = runControl->runnable();
|
Runnable inferior = runControl->runnable();
|
||||||
const FilePath &debuggerExecutable = m_runParameters.debugger.command.executable();
|
|
||||||
inferior.command.setExecutable(debuggerExecutable.withNewMappedPath(inferior.command.executable()));
|
|
||||||
inferior.workingDirectory = debuggerExecutable.withNewMappedPath(inferior.workingDirectory);
|
|
||||||
// Normalize to work around QTBUG-17529 (QtDeclarative fails with 'File name case mismatch'...)
|
// Normalize to work around QTBUG-17529 (QtDeclarative fails with 'File name case mismatch'...)
|
||||||
inferior.workingDirectory = inferior.workingDirectory.normalizedPathName();
|
inferior.workingDirectory = inferior.workingDirectory.normalizedPathName();
|
||||||
m_runParameters.inferior = inferior;
|
m_runParameters.inferior = inferior;
|
||||||
|
Reference in New Issue
Block a user