forked from qt-creator/qt-creator
Debugger: Fix inverted logic for adding magical search paths
Change-Id: I8471242cd422a68a2652ff23741d0615380e2e8d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -749,7 +749,7 @@ bool DebuggerRunTool::fixupParameters()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!debuggerSettings()->autoEnrichParameters.value()) {
|
if (debuggerSettings()->autoEnrichParameters.value()) {
|
||||||
const FilePath sysroot = rp.sysRoot;
|
const FilePath sysroot = rp.sysRoot;
|
||||||
if (rp.debugInfoLocation.isEmpty())
|
if (rp.debugInfoLocation.isEmpty())
|
||||||
rp.debugInfoLocation = sysroot / "/usr/lib/debug";
|
rp.debugInfoLocation = sysroot / "/usr/lib/debug";
|
||||||
|
Reference in New Issue
Block a user