push general_thread and continue_thread into struct remote_state
authorTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 18:03:00 +0000 (18:03 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 18:03:00 +0000 (18:03 +0000)
commit47f8a51d4755819d1d65804fa5ae89ac30eab649
treed96838c89390055ebd51fcd45babb0c58ea895c6
parent5d93a237b0f068411c0241cc5c3c3aea715067c7
push general_thread and continue_thread into struct remote_state

This moves the globals general_thread and continue_thread into
remote_state.

* remote.c (struct remote_state) <general_thread, continue_thread>:
New fields.
(general_thread, continue_thread): Remove.
(record_currthread, set_thread, set_general_process)
(remote_open_1, extended_remote_attach_1, remote_wait_as)
(extended_remote_mourn_1): Update.
gdb/ChangeLog
gdb/remote.c