[PATCH 38/62] mips/shared/gdbstub/mips-stub.c: Add prototype to stay self contained

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 20:00:28 UTC 2014


---
 c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c | 6 ++++++
 1 file changed, 6 insertions(+)

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 8451ce8..c4606a8 100644
--- a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
+++ b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
@@ -211,6 +211,12 @@ extern void putDebugChar (char);
  * Exception handler
  */
 void handle_exception (rtems_vector_number vector, CPU_Interrupt_frame *frame);
+
+/*
+ * Prototype needed by this code and to keep it self contained.
+ *.
+void rtems_interrupt_catch( rtems_isr_entry, int, rtems_isr_entry *);
+
 /*
  * The following definitions are used for the gdb stub memory map
  */
-- 
1.9.3




More information about the devel mailing list