remote: remote_arch_state pointers -> remote_arch_state objects
authorPedro Alves <palves@redhat.com>
Tue, 22 May 2018 17:22:08 +0000 (18:22 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 22 May 2018 17:32:49 +0000 (18:32 +0100)
commit43c3a0e4735033ed2fe3a4cb65f911cee69f55ae
treef338bb84923a9cb5452249ec9a2386b022e501ec
parent9d6eea31325e4027b5f035e941864fa6d780a8ca
remote: remote_arch_state pointers -> remote_arch_state objects

The previous patch made the map store pointers to remote_arch_state
instead of objects directly, simply because struct remote_arch_state
is still incomplete where struct remote_state is declared.  This patch
thus moves the remote_arch_state declaration higher up in the file,
and makes the map store remote_arch_state objects directly instead of
pointers to objects.

gdb/ChangeLog:
2018-05-22  Pedro Alves  <palves@redhat.com>

* remote.c (struct packet_reg, struct remote_arch_state):
Move higher up in the file.
(remote_state) <m_arch_states>: Store remote_arch_state values
instead of remote_arch_state pointers.
(remote_state::get_remote_arch_state): Adjust.
gdb/ChangeLog
gdb/remote.c
This page took 0.024087 seconds and 4 git commands to generate.