From a5222b654409e529651f02df9bdae40177115d91 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 12 Oct 2014 19:17:29 -0500 Subject: [PATCH] mips/gdbstub: Fix warnings --- c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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