gdb/gdbserver/

* server.c (process_point_options): Stop at 'X' when parsing.
This commit is contained in:
Yao Qi 2012-07-27 00:56:32 +00:00
parent d99067cba7
commit 5a3f286f45
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-07-27 Yao Qi <yao@codesourcery.com>
* server.c (process_point_options): Stop at 'X' when parsing.
2012-07-19 Michael Eager <eager@eagercon.com>
* i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate

View File

@ -2944,7 +2944,7 @@ process_point_options (CORE_ADDR point_addr, char **packet)
}
/* Skip tokens until we find one that we recognize. */
while (*dataptr && *dataptr != ';')
while (*dataptr && *dataptr != 'X' && *dataptr != ';')
dataptr++;
}
*packet = dataptr;