gdb
[deliverable/binutils-gdb.git] / gdb / m32r-stub.c
index c7033ea17a3b9b7f8ac0ca757b4166bacbf5f48d..4d54f72d60b81aa968d34fd20f4dcbe94641a75a 100644 (file)
@@ -605,7 +605,7 @@ getpacket (void)
       count = 0;
 
       /* now, read until a # or end of buffer is found */
-      while (count < BUFMAX)
+      while (count < BUFMAX - 1)
        {
          ch = getDebugChar ();
          if (ch == '$')
This page took 0.023503 seconds and 4 git commands to generate.