From 60441ab9edac79737e5cd961caf351951f349c1a Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 5 Sep 2008 11:46:46 +0000 Subject: * 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. --- gdb/nto-tdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/nto-tdep.h') 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. */ -- cgit v1.2.3-65-gdbad