2012-07-31 Pedro Alves <palves@redhat.com>
[deliverable/binutils-gdb.git] / gdb / gdbserver / server.c
index 4e15b3c9fa977dd6551ce85a6b8418a7801c9d68..547552f94dc98cd8ad7d8062b22501263bb04588 100644 (file)
@@ -2938,14 +2938,12 @@ process_point_options (CORE_ADDR point_addr, char **packet)
        }
       else
        {
-         /* Unrecognized token, just skip it.  */
          fprintf (stderr, "Unknown token %c, ignoring.\n",
                   *dataptr);
+         /* Skip tokens until we find one that we recognize.  */
+         while (*dataptr && *dataptr != ';')
+           dataptr++;
        }
-
-      /* Skip tokens until we find one that we recognize.  */
-      while (*dataptr && *dataptr != 'X' && *dataptr != ';')
-       dataptr++;
     }
   *packet = dataptr;
 }
This page took 0.026284 seconds and 4 git commands to generate.