diff options
Diffstat (limited to 'pk/console.c')
-rw-r--r-- | pk/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pk/console.c b/pk/console.c index 366c313..a15cb8a 100644 --- a/pk/console.c +++ b/pk/console.c @@ -126,8 +126,8 @@ void dump_tf(trapframe_t* tf) for(int j = 0; j < 4; j++) printk("%s %lx%c",regnames[i+j],tf->gpr[i+j],j < 3 ? ' ' : '\n'); } - printk("pc %lx va %lx insn %x\n", tf->epc, tf->badvaddr, - (uint32_t)tf->insn); + printk("pc %lx va %lx insn %x sr %lx\n", tf->epc, tf->badvaddr, + (uint32_t)tf->insn, tf->status); } void do_panic(const char* s, ...) |