From 66140c26166febde29e6e7f2001674a930967545 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 6 Jan 2003 18:49:09 +0000 Subject: 2003-01-06 Andrew Cagney * MAINTAINERS (Target Instruction Set Architectures): Update arm-elf. Can be built with -Werror, has been multiarched. * value.h (unpack_long): Make buffer parameter constant. (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. * scm-lang.h (scm_parse): Ditto. * defs.h (extract_typed_address, extract_address): Ditto. (extract_long_unsigned_integer): Ditto. * inferior.h (unsigned_pointer_to_address): Ditto. (signed_pointer_to_address): Ditto. * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. * gdbarch.h, gdbarch.c: Regenerate. * findvar.c (extract_long_unsigned_integer): Update. (extract_address): Update. (extract_typed_address): Update. (unsigned_pointer_to_address): Update. * values.c (unpack_long): Update. (unpack_double): Update. (unpack_pointer): Update. (unpack_field_as_long): Update. * d10v-tdep.c (d10v_pointer_to_address): Update. * avr-tdep.c (avr_pointer_to_address): Update. * scm-lang.c (scm_unpack): Update. * findvar.c (signed_pointer_to_address): Update. --- gdb/avr-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/avr-tdep.c') diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 64f8822..07f0ece 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -322,7 +322,7 @@ avr_address_to_pointer (struct type *type, void *buf, CORE_ADDR addr) } static CORE_ADDR -avr_pointer_to_address (struct type *type, void *buf) +avr_pointer_to_address (struct type *type, const void *buf) { CORE_ADDR addr = extract_address (buf, TYPE_LENGTH (type)); -- cgit v1.1