diff --git a/RedPandaIDE/debugger/gdbmidebugger.cpp b/RedPandaIDE/debugger/gdbmidebugger.cpp index 64749c7b..b1b01a54 100644 --- a/RedPandaIDE/debugger/gdbmidebugger.cpp +++ b/RedPandaIDE/debugger/gdbmidebugger.cpp @@ -986,8 +986,6 @@ void GDBMIDebuggerClient::initialize(const QString& inferior, bool hasSymbols) postCommand("-gdb-set", QString("print elements %1").arg(pSettings->debugger().arrayElements())); // limit array elements to 30 postCommand("-gdb-set", QString("print characters %1").arg(pSettings->debugger().characters())); // limit array elements to 300 postCommand("-environment-cd", QString("\"%1\"").arg(extractFileDir(inferior))); // restore working directory - // if (clientType()==DebuggerType::GDB) - // postCommand("-data-list-register-names",""); if (hasSymbols) { postCommand("-file-exec-and-symbols", '"' + inferior + '"'); @@ -1208,8 +1206,6 @@ void GDBMIDebuggerClient::refreshFrame() void GDBMIDebuggerClient::refreshRegisters() { - // if (clientType()==DebuggerType::LLDB_MI) - // postCommand("-data-list-register-names",""); postCommand("-data-list-register-names",""); postCommand("-data-list-register-values", "N"); }