summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/ChangeLog6
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am4
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c36
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c28
4 files changed, 54 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/mips/genmongoosev/ChangeLog b/c/src/lib/libbsp/mips/genmongoosev/ChangeLog
index e9cfd8a01e..9d5d81f2dc 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/ChangeLog
+++ b/c/src/lib/libbsp/mips/genmongoosev/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-08 Joel Sherrill <joel@OARcorp.com>
+
+ * startup/Makefile.am: Now compile the gdb stub.
+ * startup/bspstart.c: Fixed header block.
+ * startup/gdb-support.c: New file in stub state.
+
2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* include/lr33000.h, include/lr330x0.h, include/r3000.h, start/mg5.h:
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am b/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am
index 21e282917b..7ecea3aa79 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am
@@ -4,12 +4,12 @@
AUTOMAKE_OPTIONS = foreign 1.4
-VPATH = @srcdir@:@srcdir@/../../../shared
+VPATH = @srcdir@:@srcdir@/../../shared/gdbstub:@srcdir@/../../../shared
PGM = $(ARCH)/startup.rel
C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
- gnatinstallhandler.c setvec.c
+ gnatinstallhandler.c setvec.c mips-stub.c gdb-support.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
OBJS = $(C_O_FILES)
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
index 6fbb2660d3..06eb3d6652 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
@@ -1,22 +1,22 @@
/*
-** This routine starts the application. It includes application,
-** board, and monitor specific initialization and configuration.
-** The generic CPU dependent initialization has been performed
-** before this routine is invoked.
-**
-** COPYRIGHT (c) 1989-2001.
-** On-Line Applications Research Corporation (OAR).
-**
-** The license and distribution terms for this file may be
-** found in the file LICENSE in this distribution or at
-** http://www.OARcorp.com/rtems/license.html.
-**
-** $Id$
-**
-** Modification History:
-** 12/10/01 A.Ferrer, NASA/GSFC, Code 582
-** Set interrupt mask to 0xAF00 (Line 139).
-*/
+ * This routine starts the application. It includes application,
+ * board, and monitor specific initialization and configuration.
+ * The generic CPU dependent initialization has been performed
+ * before this routine is invoked.
+ *
+ * COPYRIGHT (c) 1989-2001.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ *
+ * Modification History:
+ * 12/10/01 A.Ferrer, NASA/GSFC, Code 582
+ * Set interrupt mask to 0xAF00 (Line 139).
+ */
#include <string.h>
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c b/c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c
new file mode 100644
index 0000000000..b27c0ab99e
--- /dev/null
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c
@@ -0,0 +1,28 @@
+/*
+ * GDB Support Routines for the Mongoose-V
+ *
+ * COPYRIGHT (c) 1989-2002.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include <rtems/bspIo.h>
+
+
+char getDebugChar (void)
+{
+ return 0;
+}
+
+void putDebugChar (char c)
+{
+ /* big hack */
+ printk( "%c" );
+}
+