diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index fe9be58357d72bbbfb728ccfc1cef6e1a7cf38bc..8d87ed9d0d5c0b9d627263a409b25a11c54d384e 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1286,10 +1286,10 @@ void GdbEngine::handleStop2(const GdbMi &data) } } - // FIXME: Hack, remove as soon as we get real stack traces. - if (m_gdbAdapter->isTrkAdapter()) { + // Quick shot + if (fullName.isValid()) { StackFrame f; - f.file = QString::fromLocal8Bit(fullName.data()); + f.file = QFile::decodeName(fullName.data()); f.line = frame.findChild("line").data().toInt(); f.address = _(frame.findChild("addr").data()); gotoLocation(f, true);