forked from qt-creator/qt-creator
CERC: Use invalid ABI
Use a invalid ABI since we have no idea what we will end up running. Make the debugger figure out specifics when needed. Change-Id: Ia74080887617a097a16d789dfd7f88458409a23c Reviewed-on: http://codereview.qt-project.org/6065 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -726,6 +726,11 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
|
||||
sp.executable = rc->executable();
|
||||
sp.processArgs = rc->commandLineArguments();
|
||||
sp.toolChainAbi = rc->abi();
|
||||
if (!sp.toolChainAbi.isValid()) {
|
||||
QList<Abi> abis = Abi::abisOfBinary(sp.executable);
|
||||
if (!abis.isEmpty())
|
||||
sp.toolChainAbi = abis.at(0);
|
||||
}
|
||||
sp.useTerminal = rc->runMode() == LocalApplicationRunConfiguration::Console;
|
||||
sp.dumperLibrary = rc->dumperLibrary();
|
||||
sp.dumperLibraryLocations = rc->dumperLibraryLocations();
|
||||
|
Reference in New Issue
Block a user