]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/nto-tdep.c
* i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:30:45 +0000 (14:30 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:30:45 +0000 (14:30 +0000)
commit468e3d51268b65763ec2df63146968944c8cc607
tree5ee66afbf7357887b7da616252916bc3378e6489
parent4e3269e3f1da68dc6a5e3d36630cf8a833e935d6
* i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
Add REGCACHE parameter.  Use it instead of current_regcache.
(i386nto_supply_regset): Add REGCACHE parameter, pass it to
i386nto_supply_gregset and i386nto_supply_fpregset.
(i386nto_regset_fill): Add REGCACHE parameter; use it instead
of current_regcache.

* nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
nto_supply_ helper functions.
(procfs_store_registers): Pass current_regcache to nto_regset_fill.

* nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.

* nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
supply_greget, supply_fpregset, supply_altregset, supply_regset,
and regset_fill member function pointers.
(nto_dummy_supply_regset): Adapt prototype.
gdb/ChangeLog
gdb/i386-nto-tdep.c
gdb/nto-procfs.c
gdb/nto-tdep.c
gdb/nto-tdep.h