aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparc-stub.c')
-rw-r--r--gdb/sparc-stub.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/sparc-stub.c b/gdb/sparc-stub.c
index 1f04f31..7da65c2 100644
--- a/gdb/sparc-stub.c
+++ b/gdb/sparc-stub.c
@@ -92,8 +92,8 @@
* external low-level support routines
*/
-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 */
/************************************************************************/
/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
@@ -371,8 +371,7 @@ putpacket(buffer)
while (ch = buffer[count])
{
- if (! putDebugChar(ch))
- return;
+ putDebugChar(ch);
checksum += ch;
count += 1;
}