From e1c97d4e4796e87bc1acc782f430f67000151e67 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 4 Jul 2023 11:05:58 +0200 Subject: [PATCH] Debugger: Remove some path mapping This reverts 67607e4bc60ada2926825dd34ac18856c9f4a841, which seems not needed anymore. Change-Id: I7c995fc158bb26acf3b4a8ad4b810fa427fcf009 Reviewed-by: David Schulz --- src/plugins/debugger/debuggerruncontrol.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/debugger/debuggerruncontrol.cpp b/src/plugins/debugger/debuggerruncontrol.cpp index 498f54d37dc..dc7fb018930 100644 --- a/src/plugins/debugger/debuggerruncontrol.cpp +++ b/src/plugins/debugger/debuggerruncontrol.cpp @@ -892,9 +892,6 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl, AllowTerminal allowTerm } 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'...) inferior.workingDirectory = inferior.workingDirectory.normalizedPathName(); m_runParameters.inferior = inferior;