mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-22 00:17:00 +00:00
debugger: Include SRR0 and SRR1 in regs output.
This commit is contained in:
@@ -365,10 +365,10 @@ static void print_gprs() {
|
||||
}
|
||||
}
|
||||
|
||||
array<string,6> sprs = {"pc", "lr", "cr", "ctr", "xer", "msr"};
|
||||
array<string, 8> sprs = {"pc", "lr", "cr", "ctr", "xer", "msr", "srr0", "srr1"};
|
||||
|
||||
for (auto &spr : sprs) {
|
||||
cout << right << std::setw(3) << setfill(' ') << spr << " : " <<
|
||||
cout << right << std::setw(4) << setfill(' ') << spr << " : " <<
|
||||
setw(8) << setfill('0') << uppercase << hex << get_reg(spr) << setfill(' ');
|
||||
|
||||
if (i & 1) {
|
||||
|
||||
Reference in New Issue
Block a user