+2006-08-19 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (amd64_linux_tdep_h): New.
+ (amd64-linux-nat.o, amd64-linux-tdep.o): Update.
+ * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
+ ORIG_RAX.
+ (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
+ * amd64-linux-tdep.c (amd64_linux_register_name)
+ (amd64_linux_register_type, amd64_linux_register_reggroup_p)
+ (amd64_linux_write_pc): New.
+ (amd64_linux_init_abi): Use them, and update num_regs.
+ * amd64-linux-tdep.h: New file.
+ * amd64-tdep.c (amd64_register_name, amd64_register_type): Make
+ public.
+ * amd64-tdep.h (amd64_register_name, amd64_register_type): New
+ prototypes.
+
+ * regformats/reg-x86-64-linux.dat: New file.
+
+2006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): Check the current frame ID
+ before unwinding to the previous frame.
+
+2006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
+ number in a comment.
+
+2006-08-18 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
+
+2006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2read.c (quirk_gcc_member_function_pointer): New.
+ (read_structure_type): Call it.
+
+2006-08-16 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * NEWS: Mention "set trust-readonly-sections" fix.
+
+2006-08-16 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * remote.c, target.c: Strip trailing whitespace.
+
+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.