From 5a3f286f4595d4ddffe74a0cbf72923044827db8 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 27 Jul 2012 00:56:32 +0000 Subject: [PATCH] gdb/gdbserver/ * server.c (process_point_options): Stop at 'X' when parsing. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2