forked from qt-creator/qt-creator
Debugger: map stack frame paths to the device of the debugger
Change-Id: If20617faf63a6b934455267f5e9512e5c555e144 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
673e90b9de
commit
6cc6e854a6
@@ -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();
|
||||
|
Reference in New Issue
Block a user