Changeset e07fe0c in mainline for arch/mips32/src/exception.c
- Timestamp:
- 2005-12-12T17:23:09Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fbe058f
- Parents:
- ebbdb8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/exception.c
rebbdb8f re07fe0c 38 38 #include <print.h> 39 39 #include <interrupt.h> 40 #include <func.h> 41 #include <console/kconsole.h> 40 42 41 43 static char * exctable[] = { … … 86 88 { 87 89 struct exception_regdump *pstate = (struct exception_regdump *)data; 90 char *symbol = get_symtab_entry(pstate->epc); 91 92 #ifdef CONFIG_DEBUG 93 printf("***Breakpoint %p in %s.\n", pstate->epc, symbol); 94 printf("***Type 'exit' to exit kconsole.\n"); 95 /* Umm..we should rather set some 'debugstate' here */ 96 haltstate = 1; 97 kconsole("debug"); 98 haltstate = 0; 99 #endif 100 88 101 /* it is necessary to not re-execute BREAK instruction after 89 102 returning from Exception handler
Note:
See TracChangeset
for help on using the changeset viewer.