2005-01-28 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7ccfa7155d3cc77555c6eb338f14dcb97ee63c9d..21d18dbc49bd98399aef38d7e0c29f4dd9983ce9 100644 (file)
@@ -1,5 +1,66 @@
+2005-01-28  Andrew Cagney  <cagney@gnu.org>
+
+       * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
+
+       * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
+       * printcmd.c (print_scalar_formatted): Update.
+
+       * value.h (value_bit_index, print_floating)
+       (find_rt_vbase_offset): Make buffer a const bfd_byte.
+       * valprint.c (print_floating): Update.
+       * valarith.c (value_bit_index): Update.
+       * valops.c (find_rt_vbase_offset): Update.
+
+       * valprint.h (print_octal_chars, print_char_chars)
+       (print_hex_chars, print_decimal_chars, print_binary_chars): Make
+       buffer a const bfd_byte.
+       * valprint.c (print_binary_chars, print_octal_chars)
+       (print_decimal_chars, print_hex_chars, print_char_chars): Make
+       "valaddr"buffer a const bfd_byte, ditto for local variables
+       referencing that buffer.
+
+       * m2-valprint.c: Include "c-lang.h".
+       (c_val_print): Delete extern declaration.
+       * scm-valprint.c: Include "c-lang.h".
+       (c_val_print): Delete extern declaration.
+       Makefile.in: Update dependencies.
+
+       * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
+       bfd_byte.
+       * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
+       (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
+       bfd_byte.
+       * cp-abi.c (baseclass_offset): Update.
+       * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
+
+       * gnu-v2-abi.h: New file.
+       * gnu-v2-abi.c: Include "gnu-v2-abi.h".
+       (gnuv2_baseclass_offset): Delete declaration.
+       * hpacc-abi.c: Include "gnu-v2-abi.h".
+       (gnuv2_baseclass_offset): Delete extern declaration.
+       * Makefile.in: Update dependencies.
+
+       * doublest.c (floatformat_is_negative, floatformat_is_nan)
+       (floatformat_mantissa, get_field): Make the buffer a const
+       bfd_byte, simplify.
+
 2005-01-27  Andrew Cagney  <cagney@gnu.org>
 
+       * value.h (struct value): Change type of contents to bfd_byte.
+       (VALUE_CONTENTS_RAW): Simplify.
+
+       * 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.
+       
+       * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
+       * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
+       parameters const, change buf to a const bfd_byte.
+       (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
+       parameters const.
+
        * corefile.c (write_memory): Update, make a copy of the read-only
        buffer.
        * target.c (target_read_memory): Update.
This page took 0.023328 seconds and 4 git commands to generate.