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

debugger: also accept external debug info as hint for a debug build

Change-Id: I97cc6cdf6b1f2b8f794ad166c0f2b3f8eadc98b8
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent df473a12
......@@ -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;
......
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