diff options
| author | David Schulz <david.schulz@qt.io> | 2021-10-26 12:35:07 +0200 |
|---|---|---|
| committer | Christian Stenger <christian.stenger@qt.io> | 2021-10-27 06:40:11 +0000 |
| commit | 6cc6e854a61a3016ebf3f6c3cacd6fa188bfa31d (patch) | |
| tree | ea5d9cae80569be725dab9c849a9fd7dda055e88 /src/plugins/debugger/stackframe.cpp | |
| parent | 673e90b9de0e1ae0351729bb9ee44b728b0f0e9c (diff) | |
| download | qt-creator-6cc6e854a61a3016ebf3f6c3cacd6fa188bfa31d.tar.gz | |
Debugger: map stack frame paths to the device of the debugger
Change-Id: If20617faf63a6b934455267f5e9512e5c555e144
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/stackframe.cpp')
| -rw-r--r-- | src/plugins/debugger/stackframe.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/stackframe.cpp b/src/plugins/debugger/stackframe.cpp index 9787b7c7c4..d223d686da 100644 --- a/src/plugins/debugger/stackframe.cpp +++ b/src/plugins/debugger/stackframe.cpp @@ -95,7 +95,8 @@ StackFrame StackFrame::parseFrame(const GdbMi &frameMi, const DebuggerRunParamet frame.level = frameMi["level"].data(); frame.function = frameMi["function"].data(); frame.module = frameMi["module"].data(); - frame.file = FilePath::fromString(frameMi["file"].data()); + const FilePath debugger = rp.debugger.command.executable(); + frame.file = FilePath::fromString(frameMi["file"].data()).onDevice(debugger); frame.line = frameMi["line"].toInt(); frame.address = frameMi["address"].toAddress(); frame.context = frameMi["context"].data(); |
