Commit 148d232e authored by hjk's avatar hjk

debugger: implement return value visualization also for gdb/NoPython

parent ef84027b
......@@ -673,6 +673,15 @@ void GdbEngine::handleStackListLocalsClassic(const GdbResponse &response)
if (data.isValid())
list.push_back(data);
}
if (!m_resultVarName.isEmpty()) {
WatchData rd;
rd.iname = "return.0";
rd.name = "return";
rd.exp = m_resultVarName;
list.append(rd);
}
manager()->watchHandler()->insertBulkData(list);
manager()->watchHandler()->updateWatchers();
}
......
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