forked from qt-creator/qt-creator
Debugger: Force GNU/Linux osabi when debugging elf on Windows
Coredump fails to open with multi-target gdb on Windows. Change-Id: I66cea184a84539c9f56cc46d7eabadd7760ba649 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -204,6 +204,7 @@ void GdbCoreEngine::writeCoreChunk()
|
||||
void GdbCoreEngine::setupInferior()
|
||||
{
|
||||
CHECK_STATE(InferiorSetupRequested);
|
||||
setLinuxOsAbi();
|
||||
// Do that first, otherwise no symbols are loaded.
|
||||
QFileInfo fi(m_executable);
|
||||
QByteArray path = fi.absoluteFilePath().toLocal8Bit();
|
||||
|
||||
Reference in New Issue
Block a user