mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-02 21:30:40 +00:00
debugger: regs command needs to reset setfill.
So printenv will fill with spaces after regs.
This commit is contained in:
parent
006a90f681
commit
6a51e8a1c9
@ -352,7 +352,7 @@ static void print_gprs() {
|
|||||||
reg_name = "R" + to_string(i);
|
reg_name = "R" + to_string(i);
|
||||||
|
|
||||||
cout << right << std::setw(3) << setfill(' ') << reg_name << " : " <<
|
cout << right << std::setw(3) << setfill(' ') << reg_name << " : " <<
|
||||||
setw(8) << setfill('0') << right << uppercase << hex << get_reg(reg_name);
|
setw(8) << setfill('0') << right << uppercase << hex << get_reg(reg_name) << setfill(' ');
|
||||||
|
|
||||||
if (i & 1) {
|
if (i & 1) {
|
||||||
cout << endl;
|
cout << endl;
|
||||||
@ -365,7 +365,7 @@ static void print_gprs() {
|
|||||||
|
|
||||||
for (auto &spr : sprs) {
|
for (auto &spr : sprs) {
|
||||||
cout << right << std::setw(3) << setfill(' ') << spr << " : " <<
|
cout << right << std::setw(3) << setfill(' ') << spr << " : " <<
|
||||||
setw(8) << setfill('0') << uppercase << hex << get_reg(spr);
|
setw(8) << setfill('0') << uppercase << hex << get_reg(spr) << setfill(' ');
|
||||||
|
|
||||||
if (i & 1) {
|
if (i & 1) {
|
||||||
cout << endl;
|
cout << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user