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:
hjk
2015-07-14 23:17:57 +02:00
parent 945c0fbc71
commit 2901b008ec
2 changed files with 1 additions and 3 deletions

View File

@@ -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;
}