- fix #319 : Register names in the cpu info are not in correct order.
This commit is contained in:
parent
4c8e88ce1b
commit
a892e21ed3
1
NEWS.md
1
NEWS.md
|
@ -81,6 +81,7 @@ Red Panda C++ Version 2.27
|
||||||
- enhancement: Restore line position after file is modified outside and reloaded.
|
- enhancement: Restore line position after file is modified outside and reloaded.
|
||||||
- fix: Caret on '('/',' in string/comment shouldn't invoke function info tips.
|
- fix: Caret on '('/',' in string/comment shouldn't invoke function info tips.
|
||||||
- fix: Function name not correctly found if it and the '(' is not in one line;
|
- fix: Function name not correctly found if it and the '(' is not in one line;
|
||||||
|
- fix: Register names in the cpu info are not in correct order.
|
||||||
|
|
||||||
Red Panda C++ Version 2.26
|
Red Panda C++ Version 2.26
|
||||||
- enhancement: Code suggestion for embedded std::vectors.
|
- enhancement: Code suggestion for embedded std::vectors.
|
||||||
|
|
|
@ -986,8 +986,8 @@ 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)
|
// if (clientType()==DebuggerType::GDB)
|
||||||
postCommand("-data-list-register-names","");
|
// postCommand("-data-list-register-names","");
|
||||||
|
|
||||||
if (hasSymbols) {
|
if (hasSymbols) {
|
||||||
postCommand("-file-exec-and-symbols", '"' + inferior + '"');
|
postCommand("-file-exec-and-symbols", '"' + inferior + '"');
|
||||||
|
@ -1208,8 +1208,9 @@ void GDBMIDebuggerClient::refreshFrame()
|
||||||
|
|
||||||
void GDBMIDebuggerClient::refreshRegisters()
|
void GDBMIDebuggerClient::refreshRegisters()
|
||||||
{
|
{
|
||||||
if (clientType()==DebuggerType::LLDB_MI)
|
// 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