From 496cfd133765e0aaff2e59d4e8e610d09958d1c2 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 24 Mar 2024 18:10:26 +0800 Subject: [PATCH] clean up code --- RedPandaIDE/debugger/gdbmidebugger.cpp | 4 ---- 1 file changed, 4 deletions(-) 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"); }