From: Yao Qi Date: Fri, 27 Jul 2012 00:56:32 +0000 (+0000) Subject: gdb/gdbserver/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a3f286f4595d4ddffe74a0cbf72923044827db8;p=binutils-gdb.git gdb/gdbserver/ * server.c (process_point_options): Stop at 'X' when parsing. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index fab5e7cd29b..b6157127173 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2012-07-27 Yao Qi + + * server.c (process_point_options): Stop at 'X' when parsing. + 2012-07-19 Michael Eager * i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 963d57507b0..4e15b3c9fa9 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -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;