summaryrefslogtreecommitdiff
path: root/gdb/m68k-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m68k-stub.c')
-rw-r--r--gdb/m68k-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-stub.c b/gdb/m68k-stub.c
index 4ef4069bc3d..54e06b13ccb 100644
--- a/gdb/m68k-stub.c
+++ b/gdb/m68k-stub.c
@@ -553,7 +553,7 @@ getpacket (void)
count = 0;
/* now, read until a # or end of buffer is found */
- while (count < BUFMAX - 1)
+ while (count < BUFMAX)
{
ch = getDebugChar ();
if (ch == '$')