[rtems commit] mips/shared/gdbstub/mips-stub.c: Add prototype to stay self contained

Joel Sherrill joel at rtems.org
Thu Oct 16 13:50:02 UTC 2014


Module:    rtems
Branch:    master
Commit:    39afee9c16e04b811f0633f661c88a89e3d5b56d
Changeset: http://git.rtems.org/rtems/commit/?id=39afee9c16e04b811f0633f661c88a89e3d5b56d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Oct 14 15:23:03 2014 -0500

mips/shared/gdbstub/mips-stub.c: Add prototype to stay self contained

---

 c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 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 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
  */



More information about the vc mailing list