- 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-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))
|
all: $(PROG-$(BOARD))
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
BOARD ?= ml402
|
BOARD ?= ml402
|
||||||
TLB ?= no
|
TLB ?= no
|
||||||
ENDIANESS ?= eb
|
ENDIANESS ?= eb
|
||||||
DEBUGGER ?= mips
|
DEBUGGER ?= rom
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(ENDIANESS),el)
|
ifeq ($(ENDIANESS),el)
|
||||||
|
|||||||
@@ -13,6 +13,9 @@
|
|||||||
|
|
||||||
extern uart_if_t uart_if[];
|
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
|
#ifdef WITH_GDB_STUB
|
||||||
extern void handle_exception (unsigned long *registers);
|
extern void handle_exception (unsigned long *registers);
|
||||||
#else
|
#else
|
||||||
@@ -28,15 +31,12 @@ int dbg_stub(struct xcptcontext * xcp)
|
|||||||
#else
|
#else
|
||||||
return dbg_handler(xcp);
|
return dbg_handler(xcp);
|
||||||
#endif
|
#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;
|
const fp_xcpt_t dbg_func = (fp_xcpt_t)dbg_stub;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
|
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
|
||||||
|
|
||||||
const con_if_entry_t con_if_entry[] =
|
const con_if_entry_t con_if_entry[] =
|
||||||
|
|||||||
Reference in New Issue
Block a user