40,14 → 40,12 |
char *symbol = ""; |
char *sym2 = ""; |
|
if (THREAD) { |
char *s = get_symtab_entry(pstate->epc); |
if (s) |
symbol = s; |
s = get_symtab_entry(pstate->ra); |
if (s) |
sym2 = s; |
} |
char *s = get_symtab_entry(pstate->epc); |
if (s) |
symbol = s; |
s = get_symtab_entry(pstate->ra); |
if (s) |
sym2 = s; |
panic("%X: tlb_refill exception at %X(%s<-%s)\n", cp0_badvaddr_read(), |
pstate->epc, symbol,sym2); |
} |
56,11 → 54,9 |
{ |
char *symbol = ""; |
|
if (THREAD) { |
char *s = get_symtab_entry(pstate->epc); |
if (s) |
symbol = s; |
} |
char *s = get_symtab_entry(pstate->epc); |
if (s) |
symbol = s; |
panic("%X: TLB exception at %X(%s)\n", cp0_badvaddr_read(), |
pstate->epc, symbol); |
} |