Debugger: Use -file-symbol-file for core files with GDB

Task-number: QTCREATORBUG-24541
Change-Id: Ib6d070629f5a7d1505c272ce78f99dc14cd15fdc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-10-09 10:42:38 +02:00
parent d11aa98219
commit 5467faa0d7

View File

@@ -4166,7 +4166,7 @@ void GdbEngine::setupInferior()
} }
if (!symbolFile.isEmpty()) { if (!symbolFile.isEmpty()) {
runCommand({"-file-exec-and-symbols \"" + symbolFile + '"', runCommand({"-file-symbol-file \"" + symbolFile + '"',
CB(handleFileExecAndSymbols)}); CB(handleFileExecAndSymbols)});
} }