diff options
author | Kevin Buettner <kevinb@redhat.com> | 2010-03-08 19:06:34 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2010-03-08 19:06:34 +0000 |
commit | bbd2783ec0022b28f822573e81cd019a91a3b981 (patch) | |
tree | 7090795cdd3c5b543de1df41e3900c939fa97828 /gdb/ppcbug-rom.c | |
parent | 566f3d17348b01884b286fc9cb7eb79c11e55635 (diff) | |
download | gdb-bbd2783ec0022b28f822573e81cd019a91a3b981.zip gdb-bbd2783ec0022b28f822573e81cd019a91a3b981.tar.gz gdb-bbd2783ec0022b28f822573e81cd019a91a3b981.tar.bz2 |
* remote-mips.c (rockhopper_ops): New target_ops struct.
(MON_ROCKHOPPER): New mips_monitor_type.
(read_hex_value): New function.
(mips_request): Send 8-byte values with a 'T' packet. Read the
packet argument as a string and use read_hex_value to parse it.
(mips_exit_debug): Wait for response when using MON_ROCKHOPPER.
(rockhopper_open): New function.
(mips_wait): Read the PC, FP and SP fields as strings. Use
read_hex_value to parse them and mips_set_register to commit them.
(mips_set_register): New function.
(mips_fetch_registers): Do not cast register value to "unsigned"
when reading a MON_ROCKHOPPER 't' packet. Use mips_set_register.
(mips_store_registers): Use a 'T' packet to set registers when
using MON_ROCKHOPPER.
(pmon_end_download): Don't run initEther if using MON_ROCKHOPPER
and expect the total to be printed before the entry address.
(_initialize_remote_mips): Initialize and add rockhopper_ops.
Diffstat (limited to 'gdb/ppcbug-rom.c')
0 files changed, 0 insertions, 0 deletions