- fixed dbg stuff
git-svn-id: http://moon:8086/svn/mips@127 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ OBJCOPY=mips-elf-objcopy
|
||||
|
||||
PROG-ml402 = $(addprefix $(BUILD_DIR)/, hello.elf testbench.elf test_irq.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf life.elf r3.elf gunzip.elf basic_math.elf jman_patches.elf jman_patchmeshes.elf jman_polys.elf test_hpi.elf test_vga.elf test_fft.elf)
|
||||
|
||||
PROG-denano = $(addprefix $(BUILD_DIR)/, hello.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf)
|
||||
PROG-denano = $(addprefix $(BUILD_DIR)/, hello.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf testbench_denano.elf)
|
||||
|
||||
all: $(PROG-$(BOARD))
|
||||
|
||||
|
||||
+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