PR remote/1966
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0f592a32f74417ed90c7cd4087276ccd9ea4e91f..0be5e72a8d90bbc4e87dcde0741b73c483b873ca 100644 (file)
@@ -1,3 +1,689 @@
+2006-08-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR remote/1966
+       * dcache.c (dcache_write_line): Use target_write.
+       (dcache_read_line): Use target_read.
+       * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
+       * symfile.c (struct load_section_data): Add new per-section
+       members.
+       (load_progress): New function.
+       (load_section_callback): Pass load_progress to the new
+       target_write_with_progress.
+       * target.c (current_xfer_partial, memory_xfer_partial): New.
+       (target_xfer_partial): New prototype.
+       (target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
+       (do_xfer_memory, target_xfer_memory_partial)
+       (target_read_memory_partial, target_write_memory_partial): Delete.
+       (trust_readonly): Move higher in the file.
+       (update_current_target): Use current_xer_partial.
+       (target_xfer_partial): Use memory_xfer_partial.  Handle
+       TARGET_OBJECT_RAW_MEMORY specially.
+       (target_read_memory): Use target_read.
+       (target_write_memory): Use target_write.
+       (default_xfer_partial): Call to_xfer_partial directly.
+       (target_write_with_progress): New function, based on target_write.
+       (target_write): Call it.
+       * target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
+       (target_write_with_progress): New prototype.
+       (do_xfer_memory, target_read_memory_partial)
+       (target_write_memory_partial): Delete prototypes.
+
+2006-08-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_write_bytes): Take a const buffer argument.
+       Do the checks from remote_xfer_memory.
+       (remote_read_bytes): Do the checks from remote_xfer_memory.
+       (remote_xfer_memory): Remove checks pushed into lower level
+       functions.
+       (remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
+       directly.
+       * remote.h (remote_write_bytes): Update prototype.
+
+2006-08-11  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * NEWS: Add 'set trace-commands' command.
+
+2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * cli/cli-script.c (execute_user_command): Update command_next_depth
+       on user-command call.
+
+2006-08-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Add entry for new substitute-path commands.
+
+2006-08-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * source.c: #include gdb_assert.h.
+       (substitute_path_rule): New struct.
+       (substitute_path_rules): New static global variable.
+       (substitute_path_rule_matches): New function.
+       (get_substitute_path_rule): New function.
+       (rewrite_source_path): New function.
+       (find_and_open_source): Add source path rewriting support.
+       (strip_trailing_directory_separator): New function.
+       (find_substitute_path_rule): New function.
+       (add_substitute_path_rule): New function.
+       (delete_substitute_path_rule): New function.
+       (show_substitute_path_command): New function.
+       (unset_substitute_path_command): New function.
+       (set_substitute_path_command): New function.
+       (_initialize_source): Add new substitute-path commands.
+       * Makefile.in (source.o): Add dependency on gdb_assert.h.
+
+2006-08-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
+       instructions.
+       (i386_analyze_struct_return): Likewise.
+       (i386_skip_probe): Likewise.
+       (i386_match_insn): Likewise.
+       (i386_analyze_frame_setup): Likewise.
+       (i386_analyze_register_saves): Likewise.
+       (i386_skip_prologue): Likewise.
+
+2006-08-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbcore.h (read_memory_nobpt): New function name instead of
+       deprecated_read_memory_nobpt.
+       * breakpoint.c (read_memory_nobpt): New function name instead
+       of deprecated_read_memory_nobpt.
+       Adjust calls to old deprecated_read_memory_nobpt accordingly.
+       * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
+       accordingly.
+       * alphanbsd-tdep.c: Likewise.
+       * frame.c: Likewise.
+       * frv-tdep.c: Likewise.
+       * hppa-linux-tdep.c: Likewise.
+       * hppa-tdep.c: Likewise.
+       * i386-linux-nat.c: Likewise.
+       * m68klinux-tdep.c: Likewise.
+       * mips-tdep.c: Likewise.
+       * s390-tdep.c: Likewise.
+
+2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.ac: Check for expat.
+       * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
+       * Makefile.in (LIBEXPAT): New.
+       (CLIBS): Include $(LIBEXPAT).
+       * README: Mention expat.
+       * configure, config.in: Regenerated.
+
+2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * config/sparc/embed.mt: New file.
+       * configure.tgt (sparc-*-rtems*): Use embed.mt.
+
+2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (objfiles.o, symfile.o): Update.
+       * objfiles.c: Include "expression.h" and "parser-defs.h".
+       (free_objfile): Clear global blocks.
+       * symfile.c: Include "parser-defs.h".
+       (clear_symtab_users): Clear global blocks.
+
+2006-08-08  Thiemo Seufer  <ths@mips.com>
+
+       * breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
+
+2006-08-08  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * symfile.c (download_write_size): Remove.
+       (show_download_write_size): Remove.
+       (load_section_callback): Don't use download_write_size.
+       (_initialize_symfile): Don't register download_write_size.
+       * NEWS: Mention 'download-write-size' removal.
+
+2006-08-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
+       support for member pointers.
+
+2006-08-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * arm-tdep.h: Add multiple inclusion protection.
+       (struct gdbarch): Add forward declaration.
+       (armobsd_regset_from_core_section): New prototype.
+       * armbsd-tdep.c: New file.
+       * armobsd-tdep.c: Include "gdb_string.h".
+       (armobsd_init_abi): Set regset_from_core_section.
+       (armobsd_core_osabi_sniffer): New function.
+       (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer.
+       * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c.
+       (armbsd-tdep.o): New dependency.
+       (armnbsd-tdep.o): Update dependencies.
+       * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
+
+2006-08-02  Thiemo Seufer  <ths@mips.com>
+
+       * linux-thread-db.c (thread_db_get_thread_local_address): Fix type
+       mismatch.
+       * tui/tui-stack.c (tui_show_frame_info): Likewise.
+
+2006-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * c-exp.y (type): Remove incorrect pointer to member case.
+       * objc-exp.y (type): Likewise.
+       * p-exp.y (type): Likewise.
+
+2006-08-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * arm-tdep.h (enum struct_return): New.
+       (struct gdbarch_tdep): Add struct_return member.
+       * arm-tdep.c (arm_return_value): Return
+       RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
+       pcc_struct_return.
+       (arm_gdbarch_init): Default to reg_struct_return.
+       * armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.
+
+2006-07-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * alpha-tdep.h (ALPHA_S0_REGNUM): New define.
+       * alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
+       <machine/pcb.h> and "bsd-kvm.h".
+       (alphabsd_supply_pcb): New function.
+       (_initialize_alphabsd_nat): Enable libkvm interface.
+       * Makefile.in (alphabsd-nat.o): Update dependencies.
+       * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+       * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+2006-07-31  Fred Fish  <fnf@specifix.com>
+
+       * arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
+       instead of calling frame_obstack_zalloc directly.
+       (arm_make_stub_cache): Ditto.
+       * frame-unwind.h: Ditto.
+       * frame.c (create_new_frame): Ditto.
+
+2006-07-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2006-07-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * main.c (captured_main): Print a newline after calling
+       print_gdb_version instead of waiting until after the symbol file
+       has been read.  Adjust error_pre_print, quit_pre_print, and
+       warning_pre_print values.
+
+2006-07-27  Roger Sayle  <roger@eyesopen.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * irix5-nat.c (fetch_core_registers): Simplify and correct logic.
+
+2006-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * target.h (target_read_stralloc): New prototype.
+       * target.c (target_read_alloc_1): Renamed from target_read_alloc.
+       Take new PADDING argument.
+       (target_read_alloc): Use it.
+       (target_read_stralloc): New function.
+
+2006-07-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_protocol_features): Correct qPart to qXfer.
+
+2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * eval.c (evaluate_subexp_for_address): Don't incorrectly discard
+       calls to C++ operator*.
+
+2006-07-24  Roger Sayle  <roger@eyesopen.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
+       (gdb_int64_bytes): Likewise.
+       (fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
+       as first argument to extract_unsigned_integer to silence compiler
+       warnings.
+
+2006-07-24  Frederic Riss  <frederic.riss@st.com>
+
+       * dwarf2read.c (struct dwarf2_per_objfile): Add has_section_at_zero 
+       field.
+       (dwarf2_locate_sections): Initialize 
+       dwarf2_per_objfile->has_section_at_zero.
+       (dwarf2_get_pc_bounds): Use dwarf2_per_objfile->has_section_at_zero 
+       instead of HAS_RELOC test.
+       (read_partial_die): Ditto.
+
+2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * corefile.c (reopen_exec_file): Only check for an open exec file.
+       Use exec_file_attach.
+       * exec.c (exec_open): Make static.
+       (exec_file_command): Don't use target_preopen.  Query directly about
+       changing the file.
+       * gdbcore.h (exec_open): Remove prototype.
+
+2006-07-24  Frederic Riss  <frederic.riss@st.com>
+
+       * regcache.c (struct regcache): Make register_valid_p a signed char 
+       array.
+
+2006-07-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (thread_db_wait): Remove libthread_db
+       after exec events.
+
+2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention Windows cross debugging support.
+
+2006-07-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-nat.c (linux_nat_add_target): Remove extern.
+       * linux-nat.h (thread_db_init): New prototype.
+
+2006-07-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.tgt: Build gdbserver for Cygwin and mingw32.
+
+2006-07-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
+       * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
+       * config/i386/tm-cygwin.h: Delete file.
+
+2006-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infrun.c (handle_inferior_event): Typo.
+
+2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * cli/cli-cmds.c (source_verbose, trace_commands): New variables.
+       (source_script): New function.
+       (source_verbose_cleanup): New function.
+       (source_command): Move old contents to source_script.
+       Make function static. Parse -v option and call source_script.
+       (init_cli_cmds): Update source command help.
+       Add 'set trace-commands' command.
+       * cli/cli-script.c (command_next_depth): New static variable.
+       (suppress_next_print_command_trace): New static variable.
+       (reset_command_nest_depth): New function.
+       (print_command_trace): New function.
+       (execute_control_command): Split the continue_control and break_control
+       cases, add calls to print_command_trace and count the nest depth.
+       (while_command): Set suppress_next_print_command_trace.
+       (if_command): Likewise.
+       * top.c (execute_command): Call print_command_trace.
+       * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
+       (source_command): Change to source_script.
+       * main.c (captued_main): Use source_script instead of source_command.
+       * top.h (source_command): Change to source_script.
+       * event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
+       * cli/cli-script.h (print_command_trace): Export.
+       (reset_command_nest_depth): Likewise.
+
+2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * eval.c (evaluate_struct_tuple): Skip static fields.
+
+2006-07-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphaobsd-tdep.c: Include "obsd-tdep.h".
+       (alphaobsd_init_abi): Set skip_solib_resolver.
+       * Makefile.in (alphaobsd-tdep.o): Update dependencies.
+       * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
+
+       * arm-tdep.c (arm_gdbarch_init): Get default floating-point model
+       from ELF flags for binaries produced by the GNU toolchain.
+
+2006-07-18  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * remote-fileio.c (remote_fileio_func_rename): Reorder to process
+       input buffer before reading memory.
+       (remote_fileio_func_stat): Likewise.
+
+2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * blockframe.c (find_pc_partial_function): Use the minimal symbol
+       size to control the cache entry, if available.
+       * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
+       symbols with zero and non-zero sizes differently.
+
+2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
+       (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
+       (thread_db_fetch_registers, thread_db_store_registers)
+       (thread_db_thread_alive, thread_db_state_str): Delete.
+       (thread_db_load): Don't look up regset functions.
+       (thread_db_pid_to_str): Simplify.
+       (thread_db_extra_thread_info): New.
+       (init_thread_db_ops): Do not set to_fetch_registers,
+       to_store_registers, or to_thread_alive.  Set to_extra_thread_info.
+       * Makefile.in: Remove linux-thread-db.o rule.
+
+2006-07-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
+       (armobsd_sigframe_init): New function.
+       (armobsd_sigframe): New variable.
+       (armobsd_init_abi): Prepend armobsd_sigframe unwinder.
+       * Makefile.in (armobsd-tdep.o): Update dependencies.
+
+2006-07-18  Denis PILAT  <denis.pilat@st.com>
+
+       * monitor.c: Remove unused prototypes.
+
+2006-07-18  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * target.c (tcomplain): Mark with ATTR_NORETURN.
+
+       * defs.h (print_transfer_performance): Improve comments.
+
+2006-07-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * printcmd.c: Coding style fixes: add missing spaces in comments
+       and wrapping long lines.
+       (delete_display, enable_display_command, disable_display_command)
+       (printf_command, display_info, undisplay_command, free_display)
+       (display_command, x_command, address_info, set_command)
+       (inspect_command, call_command, print_command, print_command_1)
+       (validate_format, print_formatted, decode_format, sym_format):
+       Remove prototypes.
+       (x_command): Make static.
+       (printf_command): Convert error into internal consistency check.
+       (address_info): Avoid assignment within function call.
+       (printf_command): Avoid redundant cast.
+       * tracepoint.c (x_command): Remove extern prototype.
+
+       * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
+       * Makefile.in (armobsd-tdep.o): Update dependencies.
+       * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
+
+2006-07-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * armobsd-tdep.c: New file.
+       * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
+       (armobsd-tdep.o): New dependency.
+       * config/arm/obsd.mt: New file.
+       * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
+
+       * gdbarch.sh (deprecated_saved_pc_after_call): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+       * arm-tdep.c (arm_saved_pc_after_call): Delete.
+       (arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.
+
+2006-07-16  Alfred M. Szmidt  <ams@gnu.org>
+       
+       * gnu-nat.c: Undefine _process_user_ before including
+       <hurd/process_request.h>.
+       (gnu_resume): Supply missing argument to error().
+       (gnu_read_inferior): Add extra parenthesis around arithmetic
+       expression to silence warnings from GCC.
+       (gnu_write_inferior): Likewise.
+       (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.
+
+2006-07-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
+       svr4_ilp_fetch_link_map_offsets.
+
+2006-07-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * armnbsd-tdep.c: Don't include "nbsd-tdep.h".
+       * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
+       (DEPRECATED_TM_FILE): Remove.
+       * Makefile.in (armnbsd-tdep.o): Update dependencies.
+       
+2006-07-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * PROBLEMS: Document threads/2137.
+
+2006-07-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/alpha/tm-nbsd.h: Remove file.
+       * config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.
+
+2006-07-13  Corinna Vinschen  <vinschen@redhat.com>
+
+       * mips-tdep.c (mips_integer_to_address): Simplify be calling
+       extract_signed_integer directly.  Fix comment.
+
+2006-07-13  Corinna Vinschen  <vinschen@redhat.com>
+
+       * m32c-tdep.c (m32c_banked_register): New function.
+       (m32c_banked_read): Use m32c_banked_register function to evaluate
+       real register number.
+       (m32c_banked_write): Ditto.
+       (m32c_virtual_frame_pointer): New function.
+       (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
+
+2006-07-13  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k-tdep.c (m68k_frame_align): New.
+       (m68k_gdbarch_init): Set frame_align here.
+
+2006-07-13  Denis PILAT  <denis.pilat@st.com>
+
+       * interps.c (interpreter_completer): Allocate one more item to the
+       'matches' list and set them all to 0 with a xcalloc.
+
+2006-07-13  Nick Roberts  <nickrob@snap.net.nz>
+
+       * annotate.c (annotate_frame_begin): Re-instate frame-begin
+       annotation for level 3 annotations.
+
+2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infcall.c (value_arg_coerce): Use value_cast_pointers for
+       references.  Avoid value_cast to a reference type.  Don't silently
+       convert pointers to references.
+       * valops.c (value_cast_pointers): New, based on value_cast.
+       (value_cast): Use it.  Reject reference types.
+       (value_ref): New.
+       (typecmp): Use it.
+       * value.h (value_cast_pointers, value_ref): New prototypes.
+
+2006-07-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (unpack_varlen_hex): Correct type of retval.
+       Reported by Zhigang Gong <zhigang.gong@gmail.com>.
+
+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.
+
+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.
This page took 0.030105 seconds and 4 git commands to generate.