remote.c: Remove unnecessary fields from 'struct stop_reply'.
authorPedro Alves <palves@redhat.com>
Fri, 27 Sep 2013 13:23:32 +0000 (13:23 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 Sep 2013 13:23:32 +0000 (13:23 +0000)
commit5b5596ff6b245d165956649a81ba5e6628579c39
treecb17eaacefb6c34eeacefcc4553f69f1908b9e35
parent86a367af41ed1121021a4fd9f131378b638aca62
remote.c: Remove unnecessary fields from 'struct stop_reply'.

I noticed these fields aren't really necessary -- if the T stop reply
indicated any we have any special event, the fallthrough doesn't
really do anything.

Tested on x86_64 Fedora 17 w/ local gdbserver, and also confirmed
"catch load" against a Windows gdbserver running under Wine, which
exercises TARGET_WAITKIND_LOADED, still works as expected.

gdb/
2013-09-27  Pedro Alves  <palves@redhat.com>

* remote.c (struct stop_reply) <solibs_changed, replay_event>:
Delete fields.
(remote_parse_stop_reply): Adjust, setting event->ws.kind
directly.
gdb/ChangeLog
gdb/remote.c