forked from qt-creator/qt-creator
debugger: don't show warning about release builds on Mac
Change-Id: Icc0e4c1b3d08d0373ea0401fca5c05b23ccf4aac Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -128,6 +128,9 @@ void LocalPlainGdbAdapter::shutdownAdapter()
|
|||||||
|
|
||||||
void LocalPlainGdbAdapter::checkForReleaseBuild()
|
void LocalPlainGdbAdapter::checkForReleaseBuild()
|
||||||
{
|
{
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
|
// There is usually no objdump on Mac, and if there is,
|
||||||
|
// there are no .debug_info sections.
|
||||||
QString objDump = _("objdump");
|
QString objDump = _("objdump");
|
||||||
// Windows: Locate objdump in the debuggee's (MinGW) environment
|
// Windows: Locate objdump in the debuggee's (MinGW) environment
|
||||||
if (ProjectExplorer::Abi::hostAbi().os() == ProjectExplorer::Abi::WindowsOS
|
if (ProjectExplorer::Abi::hostAbi().os() == ProjectExplorer::Abi::WindowsOS
|
||||||
@@ -166,6 +169,7 @@ void LocalPlainGdbAdapter::checkForReleaseBuild()
|
|||||||
tr("This does not seem to be a \"Debug\" build.\n"
|
tr("This does not seem to be a \"Debug\" build.\n"
|
||||||
"Setting breakpoints by file name and line number may fail."));
|
"Setting breakpoints by file name and line number may fail."));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocalPlainGdbAdapter::interruptInferior()
|
void LocalPlainGdbAdapter::interruptInferior()
|
||||||
|
|||||||
Reference in New Issue
Block a user