[PATCH 53/54] mips/gdbstub: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 13 15:37:37 UTC 2014


---
 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 8f7278c..8451ce8 100644
--- a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
+++ b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
@@ -208,6 +208,10 @@ 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
  */
 struct memseg
@@ -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
-- 
1.9.3




More information about the devel mailing list