2012-07-31 Pedro Alves <palves@redhat.com>
* server.c (process_point_options): Only skip tokens if we find one that is unrecognized. Don't treat 'X' specially while skipping unrecognized tokens.
This commit is contained in:
parent
902e433550
commit
78a99e9119
@ -1,3 +1,9 @@
|
||||
2012-07-31 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* server.c (process_point_options): Only skip tokens if we find
|
||||
one that is unrecognized. Don't treat 'X' specially while
|
||||
skipping unrecognized tokens.
|
||||
|
||||
2012-07-30 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||
|
||||
* linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user