gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 11 Oct 2013 02:54:44 +0000 (02:54 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 11 Oct 2013 02:54:44 +0000 (02:54 +0000)
commitbcc75809a45a6ec06401e3963a021ef9ab778487
treed865e28e4d92ac74847c482b8052c6645a9c9fc9
parent848e5d082d07c1aba6abe59fccbf32e761e25d19
gdb/

* remote.c (discard_pending_stop_replies_in_queue): Update
declaration.
(struct stop_reply) <rs>: New field.
(remove_stop_reply_of_remote_state): New function.
(discard_pending_stop_replies_in_queue): Add parameter 'rs'.
Callers update.  Pass remove_stop_reply_of_remote_state to
QUEUE_iterate.
(remote_parse_stop_reply): Initialize field 'rs'.
gdb/ChangeLog
gdb/remote.c