forked from qt-creator/qt-creator
Introduce ToolChainKitInformation::targetAbi(Kit *)
Use that in the debugger. That simplifies the logic a bit. Change-Id: Ia72607283373ee0f89a91f347db0ef2c87cf9fb3 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
committed by
Tim Jenssen
parent
7ab2ed5730
commit
32b484e26e
@@ -366,8 +366,7 @@ static DebuggerRunControl *doCreate(DebuggerRunParameters rp, RunConfiguration *
|
||||
}
|
||||
}
|
||||
|
||||
if (ToolChain *tc = ToolChainKitInformation::toolChain(kit, ToolChain::Language::Cxx))
|
||||
rp.toolChainAbi = tc->targetAbi();
|
||||
rp.toolChainAbi = ToolChainKitInformation::targetAbi(kit);
|
||||
|
||||
if (false) {
|
||||
const QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(kit);
|
||||
|
Reference in New Issue
Block a user