* target.c (target_read): Stop if target_read_partial returns 0
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 928f9a6b9da48591a8390794ecbcd1c8fc4d1b38..c1445bc61787c876c1f60f25d73cbfefc7c910b3 100644 (file)
+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.
+
+2006-07-06  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
+       write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
+       write_exp_elt_intern): Zero initialize tmp.
+
+2006-07-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_xfer_partial): Remove KOD support.
+       * target.h (enum target_object): Remove TARGET_OBJECT_KOD.
+       * MAINTAINERS: Move Kernel Object Display entry to past maintainers.
+       * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o):
+       Remove KOD support.
+       * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
+       * NEWS: Mention KOD.
+       * kod.h, kod.c, kod-cisco.c: Delete files.
+
+2006-07-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (init_remote_state): Use xrealloc instead of xmalloc.
+
+2006-07-03  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
+       write_files is set.
+
+2006-06-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
+
+2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-tdep.c (arm_register_type): Use unsigned types for registers.
+       Add special types for sp and pc.
+       * Makefile.in (arm-tdep.o): Update.
+
+2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_escape_output): New function.
+       (remote_write_bytes): Use remote_escape_output.
+
+2006-06-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention qSupported.
+       * remote.c (struct remote_state): Add explicit_packet_size.
+       (get_remote_packet_size): Check explicit_packet_size.
+       (get_memory_packet_size): Likewise.
+       (PACKET_qSupported): New enum value.
+       (struct protocol_feature, remote_supported_packet)
+       (remote_packet_size, remote_protocol_features)
+       (remote_query_supported): New.
+       (remote_open_1): Reset explicit_packet_size.  Call
+       remote_query_supported.
+       (_initialize_remote): Register qSupported.
+
+2006-06-21  Andrew Stubbs  <andrew.stubbs@st.com>
+
+        * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
+
+2006-06-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * GDB 6.5 released from GDB 6.5 branch.
+
+2006-06-19  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
+       decide how many registers it takes to pass a floating point
+       argument, what matters is the size of a floating point register
+       (not the size of a general purpose register).
+       (mips_o32_push_dummy_call): Ditto.
+
+2006-06-19  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * configure.tgt: Add gdbserver support for m32r-linux.
+
+2006-06-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
+
+2006-06-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infrun.c (insert_step_resume_breakpoint_at_caller): New function,
+       based on insert_step_resume_breakpoint_at_frame.
+       (handle_inferior_event): Update comments.  Use
+       insert_step_resume_breakpoint_at_caller.
+       (insert_step_resume_breakpoint_at_frame): Revise comments.
+
+2006-06-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (read_unspecified_type): New function.
+       (read_type_die): Handle DW_TAG_unspecified_type.
+       (Committed by Julian Brown.)
+
+2006-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * symfile.c (load_command): Check for a changed executable before
+       "load".
+
+2006-06-13  Fred Fish  <fnf@specifix.com>
+
+       * mips-tdep.c (mips_find_long_section): New function.
+       (mips_gdbarch_init): Use it to set long and pointer sizes.
+
+2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * remote-file.io.c (remote_fileio_func_system): Treat zero length
+       string as NULL.  Adjust for NULL pointer argument.
+       * doc/gdb.texinfo (system): Document behaviour with zero length
+       string.
+
+2006-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (set_remote_protocol_packet_cmd)
+       (show_remote_protocol_packet_cmd): New prototypes.
+       (remote_set_cmdlist, remote_show_cmdlist): Move higher.
+       (struct packet_config): Make name and title const.
+       (add_packet_config_cmd): Remove unnecessary arguments.
+       (_initialize_remote): Update calls.
+
+2006-06-10  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * mingw-hdep.c (gdb_select): Always check for NULL fd sets
+       before calling FD_ISSET.  Correct check for exceptfds which
+       previously tested writefds.
+
+2006-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
+           Julian Brown  <julian@codesourcery.com>
+
+       * dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
+
+2006-06-09  Julian Brown  <julian@codesourcery.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2006-06-08  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
+
 2006-06-08  Nathan Sidwell  <nathan@codesourcery.com>
 
-       * gdb/remote.c (remote_open_1): Do preopen tasks before
+       * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
+       (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
+       conversion. Use M68K_NUM_REGS for number of regs.
+
+       * remote-fileio.c (remote_fileio_reset): New.
+       * remote-fileio.h (remote_fileio_reset): Prototype.
+       * remote.c (extended_remote_restart, remote_open_1): Call it.
+
+       * remote.c (remote_open_1): Do preopen tasks before
        irreversably destroying state.
 
 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
 
-       * (struct remote_state): New type, only containing
+       * remote.c (struct remote_state): New type, only containing
        buf and buf_size.
        (remote_state): New variable.
        (get_remote_state): New function.
This page took 0.025259 seconds and 4 git commands to generate.