forked from qt-creator/qt-creator
Debugger: Fix inappropriate debugger warning when using mixed debugging
Change-Id: I3fb1818e36d01f69cca6ad07653afdc49bda702e Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1796,7 +1796,7 @@ void DebuggerEngine::validateExecutable()
|
||||
QString detailedWarning;
|
||||
switch (sp->toolChainAbi.binaryFormat()) {
|
||||
case Abi::PEFormat: {
|
||||
if (sp->masterEngineType != CdbEngineType) {
|
||||
if (sp->cppEngineType != CdbEngineType) {
|
||||
warnOnInappropriateDebugger = true;
|
||||
detailedWarning = tr(
|
||||
"The inferior is in the Portable Executable format.\n"
|
||||
@@ -1820,7 +1820,7 @@ void DebuggerEngine::validateExecutable()
|
||||
break;
|
||||
}
|
||||
case Abi::ElfFormat: {
|
||||
if (sp->masterEngineType == CdbEngineType) {
|
||||
if (sp->cppEngineType == CdbEngineType) {
|
||||
warnOnInappropriateDebugger = true;
|
||||
detailedWarning = tr(
|
||||
"The inferior is in the ELF format.\n"
|
||||
|
Reference in New Issue
Block a user