debugger: Engine decides now if a StackFrame is considered usable

This commit is contained in:
Arvid Ephraim Picciani
2010-12-01 15:57:13 +01:00
parent 0ab67db58e
commit b84ce82e07
5 changed files with 7 additions and 2 deletions

View File

@@ -2853,6 +2853,7 @@ StackFrame GdbEngine::parseStackFrame(const GdbMi &frameMi, int level)
frame.from = _(frameMi.findChild("from").data());
frame.line = frameMi.findChild("line").data().toInt();
frame.address = frameMi.findChild("addr").data().toULongLong(0, 16);
frame.usable = QFileInfo(frame.file).isReadable();
return frame;
}