daily update
[deliverable/binutils-gdb.git] / gdb / i386-stub.c
index 1251567e9121d5ddb337a6f589a615165844f3cc..04996b75cf68073a9bdc3baba92ad96419d567fd 100644 (file)
@@ -474,7 +474,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 == '$')
@@ -532,7 +532,7 @@ putpacket (unsigned char *buffer)
   int count;
   char ch;
 
-  /*  $<packet info>#<checksum>. */
+  /*  $<packet info>#<checksum>.  */
   do
     {
       putDebugChar ('$');
@@ -942,7 +942,7 @@ set_debug_traps (void)
 /* This function will generate a breakpoint exception.  It is used at the
    beginning of a program to sync up with a debugger and can be used
    otherwise as a quick means to stop program execution and "break" into
-   the debugger. */
+   the debugger.  */
 
 void
 breakpoint (void)
This page took 0.023662 seconds and 4 git commands to generate.