* remote.c (struct packet_reg): Declare.
authorAndrew Cagney <cagney@redhat.com>
Thu, 15 Nov 2001 20:58:38 +0000 (20:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 15 Nov 2001 20:58:38 +0000 (20:58 +0000)
commitad10f812bfdac2cc9e42875246c8fe0ae5224440
tree23e2441b7d1384c5cae66aab325606177e749659
parent9525aa9055098241aea1437a71991160a7af81b9
* remote.c (struct packet_reg): Declare.
(struct remote_state): Add fields sizeof_g_packet and g_packet.
(init_remote_state): Initialize sizeof_g_packet and g_packet.
(free_remote_state): Free g_packet.
(packet_reg_from_pnum, packet_reg_by_regnum): New functions.
(remote_wait): Use above instead of gdbarch methods
REGISTER_RAW_SIZE and REGISTER_BYTES.
(remote_async_wait): Ditto.
(remote_fetch_registers, remote_store_registers): Ditto.
(store_register_using_P): Ditto.
gdb/ChangeLog
gdb/remote.c