debugger: scrap one of the 6.4 workarounds when using 6.8

This commit is contained in:
hjk
2010-01-15 11:35:33 +01:00
parent e2e29587a1
commit 08c6899efa

View File

@@ -2493,7 +2493,7 @@ void GdbEngine::reloadStack(bool forceGotoLocation)
// this sometimes happens, ask the second time immediately instead
// of waiting for the first request to fail.
// FIXME: Seems to work with 6.8.
if (m_gdbAdapter->isTrkAdapter())
if (m_gdbAdapter->isTrkAdapter() && m_gdbVersion < 6.8)
postCommand(cmd, WatchUpdate);
postCommand(cmd, WatchUpdate, CB(handleStackListFrames),
QVariant::fromValue<StackCookie>(StackCookie(false, forceGotoLocation)));