Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2787 | Rev 3424 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | #include <symtab.h> |
43 | #include <symtab.h> |
44 | #include <print.h> |
44 | #include <print.h> |
45 | 45 | ||
46 | void dump_istate(istate_t *istate) |
46 | void dump_istate(istate_t *istate) |
47 | { |
47 | { |
48 | printf("TSTATE=%#llx\n", istate->tstate); |
48 | printf("TSTATE=%#" PRIx64 "\n", istate->tstate); |
49 | printf("TPC=%#llx (%s)\n", istate->tpc, get_symtab_entry(istate->tpc)); |
49 | printf("TPC=%#" PRIx64 " (%s)\n", istate->tpc, get_symtab_entry(istate->tpc)); |
50 | printf("TNPC=%#llx (%s)\n", istate->tnpc, get_symtab_entry(istate->tnpc)); |
50 | printf("TNPC=%#" PRIx64 " (%s)\n", istate->tnpc, get_symtab_entry(istate->tnpc)); |
51 | } |
51 | } |
52 | 52 | ||
53 | /** Handle instruction_access_exception. (0x8) */ |
53 | /** Handle instruction_access_exception. (0x8) */ |
54 | void instruction_access_exception(int n, istate_t *istate) |
54 | void instruction_access_exception(int n, istate_t *istate) |
55 | { |
55 | { |