Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 614 → Rev 613

/kernel/trunk/arch/mips32/src/debugger.c
File deleted
/kernel/trunk/arch/mips32/src/exception.c
39,7 → 39,6
#include <interrupt.h>
#include <func.h>
#include <console/kconsole.h>
#include <arch/debugger.h>
 
static char * exctable[] = {
"Interrupt","TLB Modified","TLB Invalid","TLB Invalid Store",
88,15 → 87,21
static void breakpoint_exception(int n, void *data)
{
struct exception_regdump *pstate = (struct exception_regdump *)data;
char *symbol = get_symtab_entry(pstate->epc);
 
#ifdef CONFIG_DEBUG
debugger_bpoint(pstate);
#else
#ifdef CONFIG_DEBUG
printf("***Breakpoint %p in %s.\n", pstate->epc, symbol);
printf("***Type 'exit' to exit kconsole.\n");
/* Umm..we should rather set some 'debugstate' here */
haltstate = 1;
kconsole("debug");
haltstate = 0;
#endif
 
/* it is necessary to not re-execute BREAK instruction after
returning from Exception handler
(see page 138 in R4000 Manual for more information) */
pstate->epc += 4;
#endif
}
 
static void tlbmod_exception(int n, void *data)
/kernel/trunk/arch/mips32/src/mips32.c
42,7 → 42,6
#include <arch/interrupt.h>
#include <arch/drivers/arc.h>
#include <console/chardev.h>
#include <arch/debugger.h>
 
#include <arch/asm/regname.h>
 
92,7 → 91,6
cp0_compare_write(cp0_compare_value + cp0_count_read());
 
console_init();
debugger_init();
arc_print_memory_map();
arc_print_devices();
}
/kernel/trunk/arch/mips32/include/debugger.h
File deleted
/kernel/trunk/arch/mips32/Makefile.inc
100,7 → 100,6
arch/$(ARCH)/src/exception.c \
arch/$(ARCH)/src/interrupt.c \
arch/$(ARCH)/src/cache.c \
arch/$(ARCH)/src/debugger.c \
arch/$(ARCH)/src/cpu/cpu.c \
arch/$(ARCH)/src/mm/asid.c \
arch/$(ARCH)/src/mm/frame.c \
/kernel/trunk/generic/src/console/kconsole.c
430,7 → 430,7
bool isptr = false;
/* If we get a name, try to find it in symbol table */
if (text[0] < '0' || text[0] > '9') {
if (text[0] < '0' | text[0] > '9') {
if (text[0] == '&') {
isaddr = true;
text++;len--;