forked from qt-creator/qt-creator
Debugger: Adapt to change in FilePath
Change-Id: I947f7c22bd59e445c94784fc50f29f6b571aad5a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -74,7 +74,7 @@ StackFrame StackFrame::parseFrame(const GdbMi &frameMi, const DebuggerRunParamet
|
||||
frame.function = frameMi["function"].data();
|
||||
frame.module = frameMi["module"].data();
|
||||
const FilePath debugger = rp.debugger.command.executable();
|
||||
const FilePath onDevicePath = FilePath::fromString(frameMi["file"].data()).onDevice(debugger);
|
||||
const FilePath onDevicePath = FilePath::fromUserInput(frameMi["file"].data()).onDevice(debugger);
|
||||
frame.file = onDevicePath.localSource().value_or(onDevicePath);
|
||||
frame.line = frameMi["line"].toInt();
|
||||
frame.address = frameMi["address"].toAddress();
|
||||
|
||||
Reference in New Issue
Block a user