diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-27 21:00:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-27 21:00:59 +0000 |
commit | 79dd2d2463b44e50d224eb94edd40942dc467611 (patch) | |
tree | b4c838d6bb9cdd1e8149491ff542720faedfa3c7 /gdb/mips-tdep.c | |
parent | c26b8e3b42c143d9262b52f43d6f204f305f0276 (diff) | |
download | gdb-79dd2d2463b44e50d224eb94edd40942dc467611.zip gdb-79dd2d2463b44e50d224eb94edd40942dc467611.tar.gz gdb-79dd2d2463b44e50d224eb94edd40942dc467611.tar.bz2 |
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (integer_to_address): Change buf parameter to a const
bfd_byte, make pure-multi-arch.
* gdbarch.h, gdbarch.c: Regenerate.
* mips-tdep.c (mips_integer_to_address): Update.
* value.c (value_as_address): Update.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 8d9d855..33ad1e9 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1,7 +1,7 @@ /* Target-dependent code for the MIPS architecture, for GDB, the GNU Debugger. Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software + 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU @@ -4596,7 +4596,8 @@ mips_register_sim_regno (int regnum) guarenteed to be correctly sign extended. */ static CORE_ADDR -mips_integer_to_address (struct type *type, void *buf) +mips_integer_to_address (struct gdbarch *gdbarch, + struct type *type, const bfd_byte *buf) { char *tmp = alloca (TYPE_LENGTH (builtin_type_void_data_ptr)); LONGEST val = unpack_long (type, buf); |