diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:46:46 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:46:46 +0000 |
commit | 60441ab9edac79737e5cd961caf351951f349c1a (patch) | |
tree | 99ae506f8d920efc34eac47161c6b4b7576b2bcb /gdb/nto-procfs.c | |
parent | bb48619059cec6b2fc701e339dc89c77ff3e0095 (diff) | |
download | binutils-gdb-60441ab9edac79737e5cd961caf351951f349c1a.tar.gz |
* nto-tdep.h (struct nto_target_ops): Add gdbarch parameter to
register_area callback function.
* i386-nto-tdep.c (i386nto_register_area): Add gdbarch parameter.
Use it instead of current_gdbarch.
* nto-procfs.c (procfs_store_registers): Update call.
Diffstat (limited to 'gdb/nto-procfs.c')
-rw-r--r-- | gdb/nto-procfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index 028394bdd9b..23b76ce1b45 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -1194,7 +1194,8 @@ procfs_store_registers (struct regcache *regcache, int regno) if (dev_set == -1) return; - len = nto_register_area (regno, regset, &off); + len = nto_register_area (get_regcache_arch (regcache), + regno, regset, &off); if (len < 1) return; |