aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-10-09 10:42:38 +0200
committerhjk <hjk@qt.io>2020-10-16 07:24:28 +0000
commit5467faa0d7916674403480724d44341555c16102 (patch)
treeefa19b6665134e7e43df39471800f4909bbcb7ce
parentd11aa98219561650a5a10a02468f81eafedf3943 (diff)
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>
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index e538aa6505..3e76d5a782 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)});
}