clean up code

This commit is contained in:
Roy Qu 2024-03-24 18:10:26 +08:00
parent a892e21ed3
commit 496cfd1337
1 changed files with 0 additions and 4 deletions

View File

@ -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");
}