forked from qt-creator/qt-creator
GDB: Expand macros on substitute paths
Change-Id: Ifb7a7f007a7c46045d7c315c02c8309f0a599dbc Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
dafc32d8e2
commit
52f9db1ae0
@@ -3799,7 +3799,7 @@ static SourcePathMap mergeStartParametersSourcePathMap(const DebuggerRunParamete
|
|||||||
for (auto it = in.constBegin(), end = in.constEnd(); it != end; ++it) {
|
for (auto it = in.constBegin(), end = in.constEnd(); it != end; ++it) {
|
||||||
// Entries that start with parenthesis are handled in CppDebuggerEngine::validateRunParameters
|
// Entries that start with parenthesis are handled in CppDebuggerEngine::validateRunParameters
|
||||||
if (!it.key().startsWith('('))
|
if (!it.key().startsWith('('))
|
||||||
rc.insert(it.key(), it.value());
|
rc.insert(it.key(), sp.macroExpander->expand(it.value()));
|
||||||
}
|
}
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user