From 6ef2c09247427739121bee74d1601fd7405c1757 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 25 May 2012 11:12:44 +0200 Subject: [PATCH] debugger: remove workaround for some gdb 6.4 builds Change-Id: Id13f9b352810f59301c409c73f510542687343e7 Reviewed-by: hjk --- src/plugins/debugger/gdb/gdbengine.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 1a3e87f409f..33aa9dbd76b 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -3582,15 +3582,6 @@ void GdbEngine::reloadStack(bool forceGotoLocation) int stackDepth = debuggerCore()->action(MaximalStackDepth)->value().toInt(); if (stackDepth && !m_gdbAdapter->isCodaAdapter()) cmd += " 0 " + QByteArray::number(stackDepth); - // FIXME: gdb 6.4 symbianelf likes to be asked twice. The first time it - // returns with "^error,msg="Previous frame identical to this frame - // (corrupt stack?)". Might be related to the fact that we can't - // access the memory belonging to the lower frames. But as we know - // 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->isCodaAdapter() && m_gdbVersion < 6.8) - postCommand(cmd); postCommand(cmd, Discardable, CB(handleStackListFrames), QVariant::fromValue(StackCookie(false, forceGotoLocation))); }