From 5467faa0d7916674403480724d44341555c16102 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 9 Oct 2020 10:42:38 +0200 Subject: [PATCH] Debugger: Use -file-symbol-file for core files with GDB Task-number: QTCREATORBUG-24541 Change-Id: Ib6d070629f5a7d1505c272ce78f99dc14cd15fdc Reviewed-by: Christian Stenger --- src/plugins/debugger/gdb/gdbengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index e538aa65056..3e76d5a782c 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4166,7 +4166,7 @@ void GdbEngine::setupInferior() } if (!symbolFile.isEmpty()) { - runCommand({"-file-exec-and-symbols \"" + symbolFile + '"', + runCommand({"-file-symbol-file \"" + symbolFile + '"', CB(handleFileExecAndSymbols)}); }