Commit 8b583a38 authored by hjk's avatar hjk
Browse files

debugger: unconditionally use 'gotoLocation' on first chance

parent 3a2974b3
......@@ -1291,14 +1291,12 @@ void GdbEngine::handleStop2(const GdbMi &data)
}
// Quick shot
if (fullName.isValid()) {
StackFrame f;
f.file = QFile::decodeName(fullName.data());
f.line = frame.findChild("line").data().toInt();
f.address = _(frame.findChild("addr").data());
f.function = _(frame.findChild("func").data());
gotoLocation(f, true);
}
StackFrame f;
f.file = QFile::decodeName(fullName.data());
f.line = frame.findChild("line").data().toInt();
f.address = _(frame.findChild("addr").data());
f.function = _(frame.findChild("func").data());
gotoLocation(f, true);
//
// Stack
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment