diff --git a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c index 8f7278ca40..8451ce87b2 100644 --- a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c +++ b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c @@ -207,6 +207,10 @@ static char do_threads; /* != 0 means we are supporting threads */ extern char getDebugChar (void); extern void putDebugChar (char); +/* + * Exception handler + */ +void handle_exception (rtems_vector_number vector, CPU_Interrupt_frame *frame); /* * The following definitions are used for the gdb stub memory map */ @@ -870,8 +874,7 @@ computeSignal (void) * This support function prepares and sends the message containing the * basic information about this exception. */ - -void gdb_stub_report_exception_info( +static void gdb_stub_report_exception_info( rtems_vector_number vector, CPU_Interrupt_frame *frame, int thread