diff options
author | Yao Qi <yao@codesourcery.com> | 2012-07-27 00:56:32 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-07-27 00:56:32 +0000 |
commit | 5a3f286f4595d4ddffe74a0cbf72923044827db8 (patch) | |
tree | 22b1413ce4812f132f4fccc01d5d969bf4417a3e | |
parent | d99067cba733e95786e7f3c1af752dfd5018a348 (diff) | |
download | gdb-5a3f286f4595d4ddffe74a0cbf72923044827db8.zip gdb-5a3f286f4595d4ddffe74a0cbf72923044827db8.tar.gz gdb-5a3f286f4595d4ddffe74a0cbf72923044827db8.tar.bz2 |
gdb/gdbserver/
* server.c (process_point_options): Stop at 'X' when parsing.
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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; |