diff options
Diffstat (limited to 'gdb/sparclet-stub.c')
-rw-r--r-- | gdb/sparclet-stub.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/sparclet-stub.c b/gdb/sparclet-stub.c index a462128..ecf670b 100644 --- a/gdb/sparclet-stub.c +++ b/gdb/sparclet-stub.c @@ -95,8 +95,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*/ @@ -534,8 +534,7 @@ putpacket(buffer) while (ch = buffer[count]) { - if (! putDebugChar(ch)) - return; + putDebugChar(ch); checksum += ch; count += 1; } |