* monitor.c (monitor_supply_register): Add REGCACHE parameter, use
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:31:30 +0000 (14:31 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:31:30 +0000 (14:31 +0000)
commitc410a84ca9f4c590dcc494a77d421f5b7019b973
tree903b73e81f4805ddd07f4144b846253c131c6423
parent468e3d51268b65763ec2df63146968944c8cc607
* monitor.c (monitor_supply_register): Add REGCACHE parameter, use
it instead of current_regcache.
(parse_register_dump): Add REGCACHE parameter, pass it to
supply_register callback.
(monitor_dump_reg_block): Add REGCACHE parameter, pass it to
parse_register_dump.
(monitor_dump_regs): Add REGCACHE parameter, pass it to
parse_register_dump and dumpregs callback.
(monitor_wait): Pass current_regcache to parse_register_dump and
monitor_dump_regs.
(monitor_fetch_register): Pass current_regcache to
monitor_supply_register.
(monitor_fetch_registers): Pass current_regcache to
monitor_dump_regs.
* monitor.h (struct monitor_ops): Add REGCACHE parameter to
supply_register and dumpregs callbacks.
(monitor_supply_register, monitor_dump_reg_block): Update
prototypes.
* dbug-rom.c (dbug_supply_register): Add REGCACHE parameter.  Pass
it to monitor_supply_register.
* dink32-rom.c (dink32_supply_register): Likewise.
* ppcbug-rom.c (ppcbug_supply_register): Likewise.
* m32r-rom.c (m32r_supply_register): Likewise.  Also, use REGCACHE
instead of current_regcache.
gdb/ChangeLog
gdb/dbug-rom.c
gdb/dink32-rom.c
gdb/m32r-rom.c
gdb/monitor.c
gdb/monitor.h
gdb/ppcbug-rom.c