diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 16aa34ace64c27994c7629842e29d73d536d4a1f..cb8320a8fede87f7ec95c4f43a4365cdc32e07ae 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -2654,8 +2654,16 @@ void GdbEngine::handleStackListThreads(const GdbResultRecord &record, const QVar void GdbEngine::reloadRegisters() { - postCommand(_("-data-list-register-values d"), - Discardable, CB(handleRegisterListValues)); + if (m_gdbAdapter->isAdapter()) { + // FIXME: remove that special case. This is only to prevent + // gdb from asking for the values of the fixed point registers + postCommand(_("-data-list-register-values x 1 2 3 4 5 6 7 8 9 " + "10 11 12 13 14 15 25"), + Discardable, CB(handleRegisterListValues)); + } else { + postCommand(_("-data-list-register-values x"), + Discardable, CB(handleRegisterListValues)); + } } void GdbEngine::setRegisterValue(int nr, const QString &value)