diff options
author | Pedro Alves <palves@redhat.com> | 2018-05-25 11:58:58 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-05-25 11:58:58 +0100 |
commit | 3c69da406c72423afa4bd0e4fc4c805ec0b944a1 (patch) | |
tree | fa73713c14baf1866b45e123ed056dc9aa5a51f2 /gdb/sparc64-linux-tdep.c | |
parent | 277eb7f64ae0c949715751a382350368ef14e95e (diff) | |
download | binutils-gdb-3c69da406c72423afa4bd0e4fc4c805ec0b944a1.tar.gz |
remote_target::m_remote_state, pointer -> object
The only reason remote_target::m_remote_state is a pointer is that
struct remote_state is incomplete when struct remote_target is
defined.
This commit thus moves struct remote_state (and its dependencies)
higher up and makes remote_target::m_remote_state an object instead of
a pointer.
gdb/ChangeLog:
2018-05-25 Pedro Alves <palves@redhat.com>
* remote.c (struct vCont_action_support, MAXTHREADLISTRESULTS)
(struct readahead_cache, struct packet_reg, struct
remote_arch_state, class remote_state): Move higher up in the
file.
(remote_target::m_remote_state): Now an object instead of a pointer.
(remote_target::get_remote_state): Adjust.
Diffstat (limited to 'gdb/sparc64-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions