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 | 05a4965a05ee8ad7ca644a64adb92654842f651f (patch) | |
tree | e51537c6875293c5d24a010e49d4bfb0f5830b6a /gdb/nto-tdep.h | |
parent | 3e7bbc5adc7c0e966b49891df52bc6009b30ac05 (diff) | |
download | gdb-05a4965a05ee8ad7ca644a64adb92654842f651f.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.h | 2 |
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. */ |