46a47
> #include "base/loader/symtab.hh"
164c165,173
< panic("Tried to %s unmapped address %#x.\n", modeStr, addr);
---
>
> // print information about what we are panic'ing on
> if (!inst) {
> panic("Tried to %s unmapped address %#x.\n", modeStr, addr);
> } else {
> panic("Tried to %s unmapped address %#x.\nPC: %#x, Instr: %s",
> modeStr, addr, tc->pcState().pc(),
> inst->disassemble(tc->pcState().pc(), debugSymbolTable));
> }