move some statics from remote_read_qxfer into struct remote_state
authorTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 18:08:48 +0000 (18:08 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 18:08:48 +0000 (18:08 +0000)
commit8e88304f57fc78c8166fc8660885593fc6d14cd5
tree3c9663fcfbb217989e4e5ed83f205fb2bc08ee4e
parent280ceea3097a78df559b4709ed8775d81e159b57
move some statics from remote_read_qxfer into struct remote_state

This moves a few static variables out of remote_read_qxfer and into
remote_state.

* remote.c (struct remote_state) <finished_object,
finished_annex, finished_offset>: New fields.
(remote_read_qxfer): Use remote_state fields; remove static
variables.
gdb/ChangeLog
gdb/remote.c