* remote.c (struct remote_arch_state): Doc fix.
authorDaniel Jacobowitz <drow@false.org>
Tue, 28 Nov 2006 17:08:49 +0000 (17:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 28 Nov 2006 17:08:49 +0000 (17:08 +0000)
commit74ca34cea9f2a3521ecb6b58f57bb799cd19b3ae
tree1911a4d1808305d85ff01b4d1cfa19ff0d2544ea
parentfbcebcb1cea20cfda8a5f7b8fe48555c83a48160
* remote.c (struct remote_arch_state): Doc fix.
(compare_pnums): New function.
(init_remote_state): Only allocate packet_reg structures for raw
registers.  Define the g/G packet format separately from creating
packet_reg.  Don't use DEPRECATED_REGISTER_BYTE.
(packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over
raw registers.
(register_bytes_found): Delete.
(fetch_register_using_p): Take a struct packet_reg.  Handle disabled
'p' packet here.  Use packet_ok.
(fetch_registers_using_g): New function, split out of
remote_fetch_registers.  Check the 'g' packet more strictly.  Save
its actual size and contents.  Eliminate BUF.  Only iterate over
raw registers.
(remote_fetch_registers): Use the new functions for 'p' and 'g'.
Mark unavailable registers.
(store_register_using_P): Likewise to fetch_register_using_p.
(store_registers_using_G): New function, split out of
remote_store_registers.  Only iterate over raw registers.  Don't
use register_bytes_found.
(remote_store_registers): Likewise to remote_fetch_registers.
gdb/ChangeLog
gdb/remote.c