summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-06 14:30:45 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-06 14:30:45 +0000
commite274bbb7b14a0f570ea90f6420bc5474f121112e (patch)
treebe8bcb9f6d782739bf6e56d879a9ef4f07fa41c4 /gdb/nto-tdep.c
parent4f6a8402ded0aad39960f9a19646f100b681d384 (diff)
downloadgdb-e274bbb7b14a0f570ea90f6420bc5474f121112e.tar.gz
* 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.
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r--gdb/nto-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index 44a1a4e38c0..b0cc87c0f85 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -339,7 +339,7 @@ nto_generic_supply_altregset (const struct regset *regset,
}
void
-nto_dummy_supply_regset (char *regs)
+nto_dummy_supply_regset (struct regcache *regcache, char *regs)
{
/* Do nothing. */
}