+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
+ or missing location list information. Suggested by Jan
+ Kratochvil <lace@jankratochvil.net>.
+
+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (arm_linux_tdep_h): New variable.
+ (arm-linux-nat.o, arm-linux-tdep.o): Update.
+ * arm-linux-nat.c: Include "arm-linux-tdep.h".
+ (typeNone, typeSingle, typeDouble, typeExtended)
+ (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
+ (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
+ (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
+ (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
+ Delete.
+ (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
+ Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
+ and collect_nwfpe_register.
+ (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
+ new regset functions.
+ * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
+ (arm_apcs_32): New declaration.
+ (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
+ (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
+ (typeExtended, supply_nwfpe_register, collect_nwfpe_register)
+ (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
+ (arm_linux_regset_from_core_section): New.
+ (arm_linux_init_abi): Register arm_linux_regset_from_core_section.
+ * arm-linux-tdep.h: New file.
+ * arm-tdep.h (struct regset): Declare.
+ (struct gdbarch_tdep): Add gregset, fpregset members.
+ * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
+ core-regset.o.
+ * config/arm/linux.mt (TDEPFILES): Add corelow.o.
+
+2006-07-12 Jan Kratochvil <lace@jankratochvil.net>
+
+ * infrun.c (handle_inferior_event): Fixed typos in printf.
+
+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * remote.c (REMOTE_ALIGN_WRITES): New.
+ (remote_write_bytes): Align large write packets. Remove unused
+ payload_start variable.
+
+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
+ (remote_supported_packet): Remove #if 0.
+ (remote_protocol_features): Add qPart:auxv:read.
+ (remote_unescape_input): New function.
+ (readchar): Don't mask off the high bit.
+ (read_frame): Use fputstrn_filtered for packet data.
+ (getpkt_sane): Return the number of bytes read or -1. Use
+ fputstrn_unfiltered.
+ (remote_read_qxfer): New.
+ (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
+ (_initialize_remote): Update packet registration.
+ * defs.h (fputstrn_filtered): New prototype.
+ * utils.c (fputstrn_filtered): New.
+ * NEWS: Mention qXfer.
+
+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * target.c (target_read): Stop if target_read_partial returns 0
+ when some bytes have already been read.
+ (target_write): Likewise for target_write_partial.
+ (target_read_partial, target_write_partial): Make static.
+ (target_read_alloc): New.
+ * target.h: Doc fixes.
+ (target_read_partial, target_write_partial): Delete prototypes.
+ (target_read_alloc): New prototype.
+
+ * auxv.c (target_auxv_read): Delete.
+ (target_auxv_search, fprint_target_auxv): Use target_read_alloc.
+ * auxv.h (target_auxv_read): Delete prototype.
+ * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
+ * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
+ * linux-nat.c (linux_nat_make_corefile_notes): Likewise.
+ * procfs.c (procfs_make_note_section): Likewise.
+ * remote.c (remote_xfer_partial): Don't loop here.
+ * sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
+
+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * arm-linux-tdep.c: Doc fixes.
+ (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
+ (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
+ (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
+ constants.
+ (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
+ the new signal frame layouts.
+
+2006-07-12 Mike Frysinger <vapier@gentoo.org>:
+ Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
+ * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
+ * gdbarch.sh: Correct comment.
+
+2006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * MAINTAINERS: Add Alfred Szmidt for the Hurd.
+
+2006-07-11 Mark Kettenis <kettenis@gnu.org>
+
+ * alpha-tdep.h (ALPHA_INSN_SIZE): New define.
+
+2006-07-10 Mark Kettenis <kettenis@gnu.org>
+
+ * alphaobsd-tdep.c: New file.
+ * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
+ handler for GDB_OSABI_OPENBSD_ELF.
+ * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
+ (alphaobsd-tdep.o): New target.
+ * config/alpha/obsd.mt: New file.
+ * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
+
+2006-07-10 Richard Henderson <rth@redhat.com>
+
+ * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
+ * alpha-tdep.c (alpha_register_byte): Remove.
+ (alpha_extract_struct_value_address): Remove.
+ (alpha_return_value): New.
+ (alpha_return_in_memory_always): New.
+ (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call
+ set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value
+ instead of set_gdbarch_deprecated_use_struct_convention,
+ set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
+ or set_gdbarch_deprecated_extract_struct_value_address.
+ * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
+ alphafbsd_use_struct_convention, remove gcc_p argument.
+ (alphafbsd_init_abi): Set tdep->return_in_memory instead of
+ set_gdbarch_deprecated_use_struct_convention.
+
2006-07-09 Mark Kettenis <kettenis@gnu.org>
+ * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
+ prototype.
+ * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
+ a.out-style core file format here. Make global.
+ (alphanbsd_regset_from_core_section): Remove.
+ (alphanbsd_sigtramp_offset): Make static.
+ (alphanbsd_aout_init_abi): Remove.
+ (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
+ a.out style core files.
+ (_initialize_alphanbsd_tdep): Do not register a handler for
+ GDB_OSABI_NETBSD_AOUT.
+
+ * alphabsd-tdep.h: Tweak comments.
+ (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
+ * alphanbsd-tdep.c: Reorder includes. Include "regset.h".
+ (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
+ (alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
+ (alphanbsd_aout_supply_gregset): New functions.
+ (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
+ New variables.
+ (alphanbsd_regset_from_core_section)
+ (alphanbsd_aout_regset_from_core_section): New functions.
+ (fetch_core_registers, fetch_elfcore_registers): Remove functions.
+ (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
+ (alphanbsd_init_abi): Set regset_from_core_section.
+ (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
+ functions.
+ (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
+ Use alphanbsd_aout_init_abi whre appropriate. Don't call
+ deprecated_add_core_fns.
+ * Makefile.in (alphanbsd-tdep.o): Update dependencies.
+
+ * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
+ (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
+
* alphanbsd-tdep.c (alphanbsd_init_abi): Use
svr4_lp64_fetch_link_map_offsets instead of
nbsd_lp64_solib_svr4_fetch_link_map_offsets.