diff options
Diffstat (limited to 'contrib/gdb/gdb/m68k-stub.c')
-rw-r--r-- | contrib/gdb/gdb/m68k-stub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gdb/gdb/m68k-stub.c b/contrib/gdb/gdb/m68k-stub.c index 009cba3..c2f1d3f 100644 --- a/contrib/gdb/gdb/m68k-stub.c +++ b/contrib/gdb/gdb/m68k-stub.c @@ -116,8 +116,8 @@ typedef void (*ExceptionHook)(int); /* pointer to function with int parm */ typedef void (*Function)(); /* pointer to a function */ -extern putDebugChar(); /* write a single character */ -extern getDebugChar(); /* read and return a single char */ +extern void putDebugChar(); /* write a single character */ +extern int getDebugChar(); /* read and return a single char */ extern Function exceptionHandler(); /* assign an exception handler */ extern ExceptionHook exceptionHook; /* hook variable for errors/exceptions */ @@ -594,7 +594,7 @@ char * buffer; count = 0; while (ch=buffer[count]) { - if (! putDebugChar(ch)) return; + putDebugChar(ch); checksum += ch; count += 1; } |