Changeset 5bb8e45 in mainline
- Timestamp:
- 2005-12-13T01:38:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a95b25
- Parents:
- c52ed6b
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/Makefile.inc
rc52ed6b r5bb8e45 101 101 arch/$(ARCH)/src/interrupt.c \ 102 102 arch/$(ARCH)/src/cache.c \ 103 arch/$(ARCH)/src/debugger.c \ 103 104 arch/$(ARCH)/src/cpu/cpu.c \ 104 105 arch/$(ARCH)/src/mm/asid.c \ -
arch/mips32/src/exception.c
rc52ed6b r5bb8e45 40 40 #include <func.h> 41 41 #include <console/kconsole.h> 42 #include <arch/debugger.h> 42 43 43 44 static char * exctable[] = { … … 88 89 { 89 90 struct exception_regdump *pstate = (struct exception_regdump *)data; 90 char *symbol = get_symtab_entry(pstate->epc);91 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 92 #ifdef CONFIG_DEBUG 93 debugger_bpoint(pstate); 94 #else 101 95 /* it is necessary to not re-execute BREAK instruction after 102 96 returning from Exception handler 103 97 (see page 138 in R4000 Manual for more information) */ 104 98 pstate->epc += 4; 99 #endif 105 100 } 106 101 -
arch/mips32/src/mips32.c
rc52ed6b r5bb8e45 43 43 #include <arch/drivers/arc.h> 44 44 #include <console/chardev.h> 45 #include <arch/debugger.h> 45 46 46 47 #include <arch/asm/regname.h> … … 92 93 93 94 console_init(); 95 debugger_init(); 94 96 arc_print_memory_map(); 95 97 arc_print_devices(); -
generic/src/console/kconsole.c
rc52ed6b r5bb8e45 431 431 432 432 /* If we get a name, try to find it in symbol table */ 433 if (text[0] < '0' | text[0] > '9') {433 if (text[0] < '0' || text[0] > '9') { 434 434 if (text[0] == '&') { 435 435 isaddr = true;
Note:
See TracChangeset
for help on using the changeset viewer.