| 480 | } |
| 481 | |
| 482 | void JUTException::showGPRMap(OSContext *context) |
| 483 | { |
| 484 | if (!sConsole) |
| 485 | { |
| 486 | return; |
| 487 | } |
| 488 | |
| 489 | bool found_address_register = false; |
| 490 | sConsole->print("-------------------------------- GPRMAP\n"); |
| 491 | |
| 492 | for (int i = 0; i < 31; i++) |
| 493 | { |
| 494 | u32 address = context->gpr[i]; |
| 495 | |
| 496 | if (address >= 0x80000000 && 0x83000000 - 1 >= address) |
| 497 | { |
| 498 | found_address_register = true; |
| 499 | |
| 500 | sConsole->print_f("R%02d: %08XH", i, address); |
| 501 | if (!showMapInfo_subroutine(address, true)) |
| 502 | { |
| 503 | sConsole->print(" no information\n"); |
| 504 | } |
| 505 | JUTConsoleManager::sManager->drawDirect(true); |
| 506 | waitTime(mPrintWaitTime1); |
| 507 | } |
| 508 | } |
| 509 | |
| 510 | if (!found_address_register) |
| 511 | { |
| 512 | sConsole->print(" no register which seem to address.\n"); |
| 513 | } |
| 514 | } |
| 515 | |
| 516 | void JUTException::showSRR0Map(OSContext *context) |
| 517 | { |
nothing calls this directly
no test coverage detected