summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdb/gdbengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-03-13 17:28:15 +0100
committerhjk <hjk@qt.io>2023-03-14 09:46:47 +0000
commitb077a105fadba1b18a680d46eb016b38878e894e (patch)
tree274865e7d8265bcf9aeefec9d2079332dd2d4439 /src/plugins/debugger/gdb/gdbengine.cpp
parent392cc524db7339d5ae77cbd64cba4f2a86dc091e (diff)
downloadqt-creator-b077a105fadba1b18a680d46eb016b38878e894e.tar.gz
GdbEngine: Allow remote symbol files
They may be needed when running gdb itself remotely. Change-Id: I57242e3111ab23701d197d26f1c3b12a9b3e96bd Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/debugger/gdb/gdbengine.cpp')
-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 b8ba1441ed..de3c075fe3 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4369,7 +4369,7 @@ void GdbEngine::setupInferior()
setLinuxOsAbi();
QString symbolFile;
if (!rp.symbolFile.isEmpty())
- symbolFile = rp.symbolFile.toFileInfo().absoluteFilePath();
+ symbolFile = rp.symbolFile.absoluteFilePath().path();
//const QByteArray sysroot = sp.sysroot.toLocal8Bit();
//const QByteArray remoteArch = sp.remoteArchitecture.toLatin1();