- fixed dbg stuff
git-svn-id: http://moon:8086/svn/mips@127 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
BOARD ?= ml402
|
||||
TLB ?= no
|
||||
ENDIANESS ?= eb
|
||||
DEBUGGER ?= mips
|
||||
DEBUGGER ?= rom
|
||||
|
||||
|
||||
ifeq ($(ENDIANESS),el)
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
|
||||
extern uart_if_t uart_if[];
|
||||
|
||||
#ifdef WITH_ROM_DEBUGGER
|
||||
const fp_xcpt_t dbg_func = (fp_xcpt_t)0xbfc01fc0;
|
||||
#else
|
||||
#ifdef WITH_GDB_STUB
|
||||
extern void handle_exception (unsigned long *registers);
|
||||
#else
|
||||
@@ -28,14 +31,11 @@ int dbg_stub(struct xcptcontext * xcp)
|
||||
#else
|
||||
return dbg_handler(xcp);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#ifdef WITH_ROM_DEBUGGER
|
||||
const fp_xcpt_t dbg_func = (fp_xcpt_t)0xbfc01fc0;
|
||||
#else
|
||||
const fp_xcpt_t dbg_func = (fp_xcpt_t)dbg_stub;
|
||||
#endif
|
||||
|
||||
|
||||
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user