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-tdep.h | |
parent | bb48619059cec6b2fc701e339dc89c77ff3e0095 (diff) | |
download | gdb-60441ab9edac79737e5cd961caf351951f349c1a.zip gdb-60441ab9edac79737e5cd961caf351951f349c1a.tar.gz gdb-60441ab9edac79737e5cd961caf351951f349c1a.tar.bz2 |
* 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index 30be3c5..567cbb6 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. */ |