+2005-02-03 Andrew Cagney <cagney@gnu.org>
+
+ * utils.c (xzalloc): New function.
+ * defs.h (XZALLOC): Use xzalloc.
+ (xzalloc): Declare.
+ * value.c (allocate_value): Allocate a zeroed buffer.
+ * mdebugread.c (xzalloc): Delete.
+
+2005-02-02 Andrew Cagney <cagney@gnu.org>
+
+ * value.h (value_lazy): Declare.
+ * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
+ * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
+
+ * value.h (VALUE_CONTENTS_ALL): Delete.
+ (value_contents_all): Declare.
+ * value.c (value_contents_all): New function.
+ * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
+ * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
+
+ * value.c (value_enclosing_type): New function.
+ * value.h (VALUE_ENCLOSING_TYPE): Delete.
+ (value_enclosing_type): Declare.
+ * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
+ * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
+
+ * value.c (value_contents_all_raw)
+ (value_contents_raw): New functions.
+ * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
+ (value_contents_raw, value_contents_all_raw): Declare functions.
+ (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
+ * std-regs.c, valarith.c, valops.c, eval.c: Update.
+ * tracepoint.c, findvar.c: Update.
+
+2005-02-01 Orjan Friberg <orjanf@axis.com>
+
+ * regformats/reg-cris.dat: New file with register definitions for CRIS.
+ * regformats/reg-crisv32.dat: Ditto for CRISv32.
+
+2005-01-31 Andrew Cagney <cagney@gnu.org>
+
+ * configure: Regenerate to track ../gettext.m4.
+
+2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
+
+ * MAINTAINERS: Add myself to "Write After Approval".
+
+ * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
+ * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
+ * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
+
+2005-01-29 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.ac: Remove extra check for ranlib.
+ * configure: Regenerated.
+
+2005-01-28 Andrew Cagney <cagney@gnu.org>
+
+ * language.h (struct language_defn): Make la_val_print's buffer
+ parameter a const bfd_byte.
+ * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
+ * ada-lang.c (ada_aligned_value_addr)
+ (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
+ * valprint.c (val_print_array_elements): Update.
+ * valprint.h (val_print_array_elements): Update.
+ * ada-lang.h (ada_val_print, ada_aligned_value_addr)
+ (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
+ * ada-valprint.c (ada_val_print, struct ada_val_print_args)
+ (ada_val_print_1, ada_print_floating, printable_val_type)
+ (print_record, val_print_packed_array_elements)
+ (print_field_values, print_variant_part): Update.
+ * c-lang.h (c_val_print, cp_print_value_fields): Update.
+ * c-valprint.c (c_val_print): Update.
+ * f-lang.h (f_val_print): Update.
+ * f-valprint.c (f_val_print, f77_print_array_1)
+ (f77_print_array): Update.
+ * jv-lang.h (java_val_print): Update.
+ * jv-valprint.c (java_print_value_fields, java_val_print): Update.
+ * language.c (unk_lang_val_print): Update.
+ * m2-lang.h (m2_val_print): Update.
+ * m2-valprint.c (m2_val_print): Update.
+ * p-lang.h (pascal_val_print): Update.
+ (pascal_object_print_value_fields): Update.
+ * p-valprint.c (pascal_val_print)
+ (pascal_object_print_value_fields, pascal_object_print_value)
+ (pascal_object_print_value): Update.
+ * scm-lang.h (scm_val_print): Update.
+ * scm-valprint.c (scm_val_print): Update.
+ * value.h (val_print): Update.
+
+ * p-lang.h (pascal_object_print_class_member)
+ (pascal_object_print_class_method): Make buffer a const bfd_byte.
+ * p-valprint.c (pascal_object_print_class_method)
+ (pascal_object_print_class_method): Ditto.
+
+ * language.h (struct language_defn): Make la_printstr's buffer
+ parameter a const bfd_byte.
+ * p-lang.h (pascal_printstr): Update function to match.
+ * ada-valprint.c (ada_printstr): Update function to match.
+ * scm-lang.c (scm_printstr): Update function to match.
+ * p-lang.c (pascal_printstr): Update function to match.
+ * ada-lang.h (ada_printstr): Update function to match.
+ * m2-lang.c (m2_printstr): Update function to match.
+ * objc-lang.c (objc_printstr): Update function to match.
+ * c-lang.h (c_printstr): Update function to match.
+ * f-lang.c (f_printstr): Update function to match.
+ * c-lang.c (c_printstr): Update function to match.
+ * language.c (unk_lang_printstr): Update function to match.
+
+ * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
+ * valprint.h (val_print_type_code_int): Ditto.
+
+ * objc-lang.h (c_val_print, c_value_print): Delete declarations.
+
+ * cp-valprint.c (cp_print_class_method)
+ (cp_print_class_member): Make buffer a const bfd_byte.
+ * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
+
+ * ada-lang.c (value_from_contents_and_address)
+ (to_record_with_fixed_variant_part)
+ (value_tag_from_contents_and_address, ada_to_fixed_type)
+ (to_fixed_variant_branch_type, to_fixed_record_type)
+ (ada_template_to_fixed_record_type, cond_offset_host)
+ (ada_template_to_fixed_record_type_1): Make buffer a const
+ bfd_byte.
+ * ada-lang.h (ada_template_to_fixed_record_type_1)
+ (value_from_contents_and_address, ada_to_fixed_type): Ditto.
+
+ * 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.
+ (target_write_memory): Update, make a copy of the read-only
+ buffer.
+ * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
+ const.
+ * target.h (target_read_memory, target_write_memory): Change
+ buffer type to bfd_byte; for write_memory, make it const.
+ * symfile-mem.c (do_target_read_memory): New function.
+ (symbol_file_add_from_memory): Pass do_target_read_memory to
+ bfd_elf_bfd_from_remote_memory.
+
+ * value.h: Indent using gdb_indent.sh.
+
+ * configure: Regenerate to track ../gettext.m4 change.
+
+2005-01-26 Andrew Cagney <cagney@gnu.org>
+
+ * rs6000-tdep.c: Include "reggroups.h".
+ (rs6000_gdbarch_init): Set register_reggroup_p.
+ (rs6000_register_reggroup_p): New function.
+
+2005-01-26 Orjan Friberg <orjanf@axis.com>
+
+ * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
+ (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
+ CRISv32.
+ (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
+ (cris_region_ok_for_watchpoint, cris_stopped_data_address)
+ (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
+ (crisv32_register_type, cris_special_register_name)
+ (crisv32_register_name): New functions.
+ (cris_spec_reg_applicable): Recognize more versions.
+ (cris_register_name): Update with call to cris_special_register_name.
+ (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
+ warning when unable to find step target.
+ (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
+ (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
+ CRISv32.
+ (fetch_core_registers): Update for CRISv32.
+ (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
+ register_name, cannot_store_register, cannot_fetch_register,
+ have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
+
+2005-01-26 Nick Roberts <nickrob@snap.net.nz>
+
+ * interps.c (interpreter_exec_cmd): Use condition,
+ e.reason < 0, to raise an error.
+
+2005-01-25 Andrew Cagney <cagney@gnu.org>
+
+ * ppc-linux-tdep.c: Include "tramp-frame.h"
+ (struct ppc_linux_sigtramp_cache)
+ (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
+ (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
+ (ppc_linux_sigtramp_cache): Delete.
+ (ppc32_linux_sigaction_cache_init)
+ (ppc64_linux_sigaction_cache_init)
+ (ppc32_linux_sighandler_cache_init)
+ (ppc64_linux_sighandler_cache_init)
+ (ppc32_linux_sigaction_tramp_frame)
+ (ppc64_linux_sigaction_tramp_frame)
+ (ppc32_linux_sighandler_tramp_frame)
+ (ppc64_linux_sighandler_tramp_frame)
+ (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
+ 64-bit, sigaction and siginfo tramp-frame unwinders.
+
+ * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
+ long_double_bit to 8.
+
+2005-01-24 Andrew Cagney <cagney@gnu.org>
+
+ * infrun.c (handle_inferior_event): Handle back-to-back and nested
+ signals where the step_resume_breakpoint may have already been
+ inserted.
+
+2005-01-24 Andrew Cagney <cagney@gnu.org>
+
+ * configure: Regenerate, ../gettext.m4 was updated.
+
+2005-01-23 Mark Kettenis <kettenis@gnu.org>
+
+ * NEWS: Mention new BSD user-level threads support.
+
+ * i386obsd-tdep.c: Update copyright year. Include
+ "bsd-uthread.h".
+ (i386obsd_uthread_reg_offset): New variable.
+ (I386OBSD_UTHREAD_ESP_OFFSET): New define.
+ (i386obsd_supply_uthread, i386obsd_collect_uthread): New
+ functions.
+ (i386obsd_init_abi): Set supply_uthread and collect_uthread.
+ * Makefile.in (i386obsd-tdep.o): Update dependencies.
+ * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
+
+2005-01-23 Christopher Faylor <cgf@timesys.com>
+
+ * win32-nat.c: Update copyright year.
+ (child_init_thread_list): Set thread linked list point to NULL so that
+ it won't be reused after clearing.
+
+2005-01-21 Mark Kettenis <kettenis@gnu.org>
+
+ * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
+ undefs.
+ * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
+ thread' has a td_pcb member and whether `struct reg' has r_fs and
+ r_gs members.
+ * configure, config.in: Regenerate.
+
+2005-01-21 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.ac: Remove ia64-*-aix* junk.
+ * configure: Regenerate.
+
+ * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
+ and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
+ is necessary.
+ * configure, config.in: Regenerate.
+ * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
+ BFD_NEED_DECLARATION. Never provide a prototype for
+ caninicalize_file_name.
+ * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
+ BFD_NEED_DECLARATION.
+
+ * configure.ac (targ_archs): Use standard autoconf check for
+ "struct stat.st_blocks" instead of rolling our own.
+ * configure: Regenerated.
+ * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
+ * config.in: Regenerated.
+
+2005-01-21 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.ac: Modernize checks for `long long' and `long double'
+ support.
+ * configure: Regenerated.
+ * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
+ (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
+ * config.in: Regenerated.
+
+2005-01-20 Mark Kettenis <kettenis@gnu.org>
+
+ * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
+ (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
+ * configure.ac: Remove checks for HP-UX save_state structure.
+ * configure: Regenerated.
+
+2005-01-19 Andrew Cagney <cagney@gnu.org>
+
+ * utils.c (quit): Simplify, call fatal.
+ * exceptions.c: Include "serial.h"
+ (print_flush): Mimic flush code found in utils.c:quit.
+ * Makefile.in: Update dependencies.
+
+2005-01-19 Jim Blandy <jimb@redhat.com>
+
+ * configure.tgt: Set build_rdi_share to "yes" on those targets
+ that use that debugging protocol.
+ Set build_nlm to yes to build NLM stub for Netware targets.
+ * configure.ac: If build_rdi_share is "yes", then configure the
+ rdi-share subdirectory.
+ If build_nlm is "yes", the configure the "nlm" subdirectory.
+ * configure: Regenerated.
+
+ * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
+ autoconf 2.59 and automake 1.9.3.
+
2005-01-19 Andrew Cagney <cagney@gnu.org>
* exceptions.h (deprecated_throw_reason): Rename throw_reason.