summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 19:17:29 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:33:35 -0500
commita5222b654409e529651f02df9bdae40177115d91 (patch)
treeff9d03863a6413fc38d67996ebf50ec171e2a967 /c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
parentmips/genmongoosev: Fix warnings (diff)
downloadrtems-a5222b654409e529651f02df9bdae40177115d91.tar.bz2
mips/gdbstub: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c')
-rw-r--r--c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c7
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 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
@@ -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