Changeset e16e0d59 in mainline for kernel/arch/sparc64/src/trap/exception.c
- Timestamp:
- 2009-03-17T20:33:18Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5eb90cb
- Parents:
- b1c8dc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/trap/exception.c
rb1c8dc0 re16e0d59 42 42 #include <debug.h> 43 43 #include <print.h> 44 45 #ifdef CONFIG_SYMTAB46 44 #include <symtab.h> 47 #endif48 45 49 46 void dump_istate(istate_t *istate) … … 51 48 char *tpcs, *tnpcs; 52 49 53 #ifdef CONFIG_SYMTAB 54 tpcs = get_symtab_entry(istate->tpc); 55 tnpcs = get_symtab_entry(istate->tnpc); 56 #else 57 tpcs = tnpcs = "n/a"; 58 #endif 50 tpcs = symtab_fmt_name_lookup(istate->tpc); 51 tnpcs = symtab_fmt_name_lookup(istate->tnpc); 52 59 53 printf("TSTATE=%#" PRIx64 "\n", istate->tstate); 60 54 printf("TPC=%#" PRIx64 " (%s)\n", istate->tpc, tpcs);
Note:
See TracChangeset
for help on using the changeset viewer.