- fixed bootloader denano
git-svn-id: http://moon:8086/svn/mips@157 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -13,24 +13,6 @@
|
||||
#ifdef WITH_DEBUGGER
|
||||
extern uart_if_t uart_if[];
|
||||
|
||||
#ifdef WITH_GDB_STUB
|
||||
extern void handle_exception (unsigned long *registers);
|
||||
#else
|
||||
extern int dbg_handler(struct xcptcontext * xcp);
|
||||
#endif
|
||||
|
||||
int dbg_stub(struct xcptcontext * xcp) __attribute__ ((section (".dbg_stub"))) __attribute__ ((used));
|
||||
int dbg_stub(struct xcptcontext * xcp)
|
||||
{
|
||||
#ifdef WITH_GDB_STUB
|
||||
handle_exception((unsigned long *)xcp);
|
||||
return 0;
|
||||
#else
|
||||
return dbg_handler(xcp);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
void dbg_putchar(char c)
|
||||
{
|
||||
if (c == 0x0A)
|
||||
|
||||
Reference in New Issue
Block a user