[rtems commit] mips/gdbstub: Fix warnings
Joel Sherrill
joel at rtems.org
Mon Oct 13 16:27:41 UTC 2014
Module: rtems
Branch: master
Commit: a5222b654409e529651f02df9bdae40177115d91
Changeset: http://git.rtems.org/rtems/commit/?id=a5222b654409e529651f02df9bdae40177115d91
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Oct 12 19:17:29 2014 -0500
mips/gdbstub: Fix warnings
---
c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c | 7 +++++--
1 files 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
More information about the vc
mailing list