* arm-tdep.c: Include features/arm-with-m.c.
[deliverable/binutils-gdb.git] / gdb / sparc-stub.c
index 1e6298a179e1c853e2928f6d970ffb6a8fe46a55..c12d4360a4bb413f9e3052061ace07f2b15a0d30 100644 (file)
@@ -306,7 +306,7 @@ retry:
       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.026491 seconds and 4 git commands to generate.