clean up code
This commit is contained in:
parent
a892e21ed3
commit
496cfd1337
|
@ -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 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("-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
|
postCommand("-environment-cd", QString("\"%1\"").arg(extractFileDir(inferior))); // restore working directory
|
||||||
// if (clientType()==DebuggerType::GDB)
|
|
||||||
// postCommand("-data-list-register-names","");
|
|
||||||
|
|
||||||
if (hasSymbols) {
|
if (hasSymbols) {
|
||||||
postCommand("-file-exec-and-symbols", '"' + inferior + '"');
|
postCommand("-file-exec-and-symbols", '"' + inferior + '"');
|
||||||
|
@ -1208,8 +1206,6 @@ void GDBMIDebuggerClient::refreshFrame()
|
||||||
|
|
||||||
void GDBMIDebuggerClient::refreshRegisters()
|
void GDBMIDebuggerClient::refreshRegisters()
|
||||||
{
|
{
|
||||||
// if (clientType()==DebuggerType::LLDB_MI)
|
|
||||||
// postCommand("-data-list-register-names","");
|
|
||||||
postCommand("-data-list-register-names","");
|
postCommand("-data-list-register-names","");
|
||||||
postCommand("-data-list-register-values", "N");
|
postCommand("-data-list-register-values", "N");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue