push remote_desc into struct remote_state
authorTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 18:01:33 +0000 (18:01 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 18:01:33 +0000 (18:01 +0000)
commit5d93a237b0f068411c0241cc5c3c3aea715067c7
tree31095a33170f6934d3201a84cb8e9f9e12f4c2fd
parentcf79286214a41d8c6aaf5218745b45ecaf2d75d3
push remote_desc into struct remote_state

This moves the "remote_desc" global into remote_state.

* remote.c (struct remote_state) <remote_desc>: New field.
(remote_desc): Remove.
(remote_threads_info, remote_threads_extra_info, remote_close)
(send_interrupt_sequence, remote_start_remote, remote_open_1)
(readchar, remote_xfer_partial, remote_rcmd, packet_command)
(remote_hostio_send_command, remote_file_put, remote_file_get)
(remote_file_delete, remote_can_async_p, remote_is_async_p)
(remote_async, remote_new_objfile, set_range_stepping): Update.
gdb/ChangeLog
gdb/remote.c