Commit f7f3c2d1 authored by hjk's avatar hjk Committed by hjk

debugger: don't show warning about release builds on Mac

Change-Id: Icc0e4c1b3d08d0373ea0401fca5c05b23ccf4aac
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 5c6e760d
......@@ -128,6 +128,9 @@ void LocalPlainGdbAdapter::shutdownAdapter()
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");
// Windows: Locate objdump in the debuggee's (MinGW) environment
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"
"Setting breakpoints by file name and line number may fail."));
}
#endif
}
void LocalPlainGdbAdapter::interruptInferior()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment