summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 14:57:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 14:57:20 +0000
commit219bb18d86673a21c86a14ea19ae51f77159ad83 (patch)
treeefba6cb94ba74efdacfb99b72ecfa7d8bfd81d34
parentd36d3a3c0c9d1d28ff30d456fb5ea6fce070c27f (diff)
downloadrtems-219bb18d86673a21c86a14ea19ae51f77159ad83.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* m68k-stub.c: Corrected typos.
-rw-r--r--c/src/lib/libbsp/m68k/shared/gdbstub/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/shared/gdbstub/ChangeLog b/c/src/lib/libbsp/m68k/shared/gdbstub/ChangeLog
index 9d93d84f8e..118fa57e26 100644
--- a/c/src/lib/libbsp/m68k/shared/gdbstub/ChangeLog
+++ b/c/src/lib/libbsp/m68k/shared/gdbstub/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * m68k-stub.c: Corrected typos.
+
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* m68k-stub.c: Fixed warnings about multi-line strings in asm.
diff --git a/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c b/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c
index 9d32034bda..f5f26246c4 100644
--- a/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c
+++ b/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c
@@ -417,7 +417,7 @@ a7saveDone:\n\
jbsr (%a0) /* and call it */\n\
clr.l (%sp) /* replace exception num parm with frame ptr */\n\
jbsr _returnFromException /* jbsr, but never returns */\n\
-");\n\
+");
#else /* mc68000 */
/* This function is called when an exception occurs. It translates the
* return address found on the stack into an exception vector # which
@@ -666,8 +666,8 @@ static short error;
void debug_error(
-char * format,
-char * parm
+ char * format,
+ char * parm
)
{
if (remote_debug) fprintf (stderr,format,parm);
@@ -996,7 +996,7 @@ void handle_exception(int exceptionVector)
else {
m68k_exceptionHandler(2,_catchException);
strcpy(remcomOutBuffer,"E03");
- debug_error("bus error");
+ debug_error("bus error", 0);
}
/* restore handler for bus error */
@@ -1037,7 +1037,7 @@ void handle_exception(int exceptionVector)
else {
m68k_exceptionHandler(2,_catchException);
strcpy(remcomOutBuffer,"E03");
- debug_error("bus error");
+ debug_error("bus error", 0);
}
/* restore handler for bus error */