aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m68k-stub.c')
-rw-r--r--gdb/m68k-stub.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/m68k-stub.c b/gdb/m68k-stub.c
index c2f1d3f..a7187eb 100644
--- a/gdb/m68k-stub.c
+++ b/gdb/m68k-stub.c
@@ -576,8 +576,7 @@ char * buffer;
}
-/* send the packet in buffer. The host get's one chance to read it.
- This routine does not wait for a positive acknowledge. */
+/* send the packet in buffer. */
void putpacket(buffer)
@@ -603,7 +602,7 @@ char * buffer;
putDebugChar(hexchars[checksum >> 4]);
putDebugChar(hexchars[checksum % 16]);
- } while (1 == 0); /* (getDebugChar() != '+'); */
+ } while (getDebugChar() != '+');
}