summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-05 11:46:46 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-05 11:46:46 +0000
commit60441ab9edac79737e5cd961caf351951f349c1a (patch)
tree99ae506f8d920efc34eac47161c6b4b7576b2bcb /gdb/nto-tdep.h
parentbb48619059cec6b2fc701e339dc89c77ff3e0095 (diff)
downloadbinutils-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-tdep.h')
-rw-r--r--gdb/nto-tdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h
index 30be3c54857..567cbb64877 100644
--- a/gdb/nto-tdep.h
+++ b/gdb/nto-tdep.h
@@ -61,7 +61,7 @@ struct nto_target_ops
and stuff it into the last argument. If regno is -1, calculate the
size of the entire regset. Returns length of data, -1 if unknown
regset, 0 if unknown register. */
- int (*register_area) (int, int, unsigned *);
+ int (*register_area) (struct gdbarch *, int, int, unsigned *);
/* Build the Neutrino register set info into the data buffer.
Return -1 if unknown regset, 0 otherwise. */