Merge pull request #8262 from Tilka/gdbstub

Fix GDB stub build
This commit is contained in:
Connor McLaughlin 2019-07-25 13:54:02 +10:00 committed by GitHub
commit a8bbbd0bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -440,7 +440,7 @@ static void gdb_read_register()
wbe32hex(reply, GPR(id)); wbe32hex(reply, GPR(id));
break; break;
case 32 ... 63: case 32 ... 63:
wbe64hex(reply, riPS0(id - 32)); wbe64hex(reply, rPS(id - 32).PS0AsU64());
break; break;
case 64: case 64:
wbe32hex(reply, PC); wbe32hex(reply, PC);
@ -525,7 +525,7 @@ static void gdb_write_register()
GPR(id) = re32hex(bufptr); GPR(id) = re32hex(bufptr);
break; break;
case 32 ... 63: case 32 ... 63:
riPS0(id - 32) = re64hex(bufptr); rPS(id - 32).SetPS0(re64hex(bufptr));
break; break;
case 64: case 64:
PC = re32hex(bufptr); PC = re32hex(bufptr);

View File

@ -706,7 +706,7 @@ void Jit64::Trace()
#ifdef JIT_LOG_FPR #ifdef JIT_LOG_FPR
for (int i = 0; i < 32; i++) for (int i = 0; i < 32; i++)
{ {
fregs += StringFromFormat("f%02d: %016x ", i, riPS0(i)); fregs += StringFromFormat("f%02d: %016x ", i, rPS(i).PS0AsU64());
} }
#endif #endif