From 5a3f286f4595d4ddffe74a0cbf72923044827db8 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 27 Jul 2012 00:56:32 +0000 Subject: 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(-) (limited to 'gdb') diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index fab5e7c..b615712 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 963d575..4e15b3c 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; -- cgit v1.1