* shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:29:58 +0000 (14:29 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:29:58 +0000 (14:29 +0000)
commit4e3269e3f1da68dc6a5e3d36630cf8a833e935d6
tree595198fd7c5d6c60b127681b5c388d62a1f71bfb
parent28f5035f336a0d28983f5c58b3c7abb3d2e47b5d
* shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
instead of current_regcache.  Make REGS const.
(shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
* shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
prototypes.
* shnbsd-nat.c: Include "regcache.h".
(shnbsd_fetch_inferior_registers): Pass current_regcache to
shnbsd_supply_reg.
(shnbsd_store_inferior_registers): Pass current_regcache to
shnbsd_fill_reg.
* Makefile.in (shbsd-nat.o): Update dependencies.
gdb/ChangeLog
gdb/Makefile.in
gdb/shnbsd-nat.c
gdb/shnbsd-tdep.c
gdb/shnbsd-tdep.h