forked from qt-creator/qt-creator
debugger: also accept external debug info as hint for a debug build
Change-Id: I97cc6cdf6b1f2b8f794ad166c0f2b3f8eadc98b8 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -5403,7 +5403,10 @@ void GdbEngine::checkForReleaseBuild()
|
||||
return;
|
||||
}
|
||||
|
||||
if (elfData.indexOf(".debug_info") >= 0)
|
||||
bool hasEmbeddedInfo = elfData.indexOf(".debug_info") >= 0;
|
||||
bool hasBuildId = elfData.indexOf(".note.gnu.build-id") >= 0;
|
||||
bool hasLink = elfData.indexOf(".gnu_debuglink") >= 0;
|
||||
if (hasEmbeddedInfo || hasBuildId || hasLink)
|
||||
return;
|
||||
|
||||
QString warning;
|
||||
|
||||
Reference in New Issue
Block a user