forked from qt-creator/qt-creator
Debugger: Fix loading core files from the command line
Make qtcreator -debug [exe,]core=/path/to/core work again. Change-Id: I16d1e388d74409d4deed2840dd768eab8c26cf40 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -130,7 +130,6 @@ GdbCoreEngine::readExecutableNameFromCore(const QString &debuggerCommand, const
|
||||
CoreInfo cinfo;
|
||||
#if 0
|
||||
ElfReader reader(coreFile);
|
||||
cinfo.isCore = false;
|
||||
cinfo.rawStringFromCore = QString::fromLocal8Bit(reader.readCoreName(&cinfo.isCore));
|
||||
cinfo.foundExecutableName = findExecutableFromName(cinfo.rawStringFromCore, coreFile);
|
||||
#else
|
||||
@@ -161,7 +160,6 @@ GdbCoreEngine::readExecutableNameFromCore(const QString &debuggerCommand, const
|
||||
}
|
||||
}
|
||||
}
|
||||
cinfo.isCore = false;
|
||||
#endif
|
||||
return cinfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user