diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 37e6df0718dc0ff0981a442e8f7739fb750e23af..88454812f50b2348966e0f80773e48660825c668 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1283,7 +1283,12 @@ void GdbEngine::reloadStack() if (stackDepth && !m_gdbAdapter->isAdapter()) cmd += _(" 0 ") + QString::number(stackDepth); postCommand(cmd, WatchUpdate, CB(handleStackListFrames), false); - // FIXME: gdb 6.4 likes to be asked twice + // 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 always happens, ask the second time immediately instead + // of waiting for the first request to fail. if (m_gdbAdapter->isAdapter()) postCommand(cmd, WatchUpdate, CB(handleStackListFrames), false); }