+2012-03-08 Luis Machado <lgustavo@codesourcery.com>
+
+ * ax-gdb.c (gen_fetch): Fail gracefully and use error instead
+ of internal error for unknown/unsupported types.
+
+2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix CU relative vs. absolute DIE offsets.
+ * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter
+ offset to offset_in_cu.
+ * dwarf2read.c (process_enumeration_scope): Add CU offset to
+ TYPE_OFFSET.
+ (dwarf2_fetch_die_location_block): Rename parameter offset to
+ offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU.
+
+2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * libunwind-frame.c: Rename to ...
+ * ia64-libunwind-tdep.c: ... here.
+ * libunwind-frame.h: Rename to ...
+ * ia64-libunwind-tdep.h: ... here.
+ * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to
+ ia64-libunwind-tdep.h.
+ (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c.
+ * README (--with-libunwind): Rename to ...
+ (--with-libunwind-ia64): ... here, note it is ia64 specific now.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: New option --with-libunwind-ia64, make the
+ AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind.
+ Remove AC_DEFINE for HAVE_LIBUNWIND.
+ * ia64-libunwind-tdep.c: Make the file top comment ia64 specific.
+ Rename libunwind-frame.h #include to ia64-libunwind-tdep.h.
+ Rename libunwind-frame in the general comment.
+ * ia64-libunwind-tdep.h: Make the file top comment ia64 specific.
+ Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H.
+ Move forward declarations inside #ifndef. Rename libunwind-frame in
+ the general comment.
+ * ia64-tdep.c: Rename libunwind-frame.h #include to
+ ia64-libunwind-tdep.h.
+ (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg)
+ (ia64_libunwind_descr): Rename libunwind-frame to
+ ia64-libunwind-tdep in these function comments.
+ * ia64-tdep.h: Rename libunwind-frame.h #include to
+ ia64-libunwind-tdep.h.
+ * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to
+ ia64-libunwind-tdep in that data comment.
+
+2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * libunwind-frame.h (struct frame_unwind): New declaration.
+
+2012-03-08 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (_initialize_breakpoint): Fix error in help of
+ "set breakpoint condition-evaluation" command.
+
+2012-03-08 Tristan Gingold <gingold@adacore.com>
+
+ * sparc-stub.c: Move to stubs/
+ * sh-stub.c: Likewise.
+ * m68k-stub.c: Likewise.
+ * m32r-stub.c: Likewise.
+ * i386-stub.c: Likewise.
+
+2012-03-08 Andreas Schwab <schwab@linux-m68k.org>
+
+ * m68klinux-tdep.c (m68k_linux_init_abi): Register
+ linux_get_siginfo_type.
+
+ * m68klinux-nat.c: Include "gdb_proc_service.h".
+ (PTRACE_GET_THREAD_AREA): Define.
+ (ps_get_thread_area): New function.
+
+2012-03-08 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (remote_get_noisy_reply): Replace `sprintf' with
+ `xsnprintf'.
+ (remote_query_attached): Likewise.
+ (remote_static_tracepoint_marker_at): Likewise.
+ (remote_set_permissions): Likewise.
+ (remote_detach_1, extended_remote_attach_1): Likewise.
+ (send_g_packet, remote_vkill): Likewise.
+ (extended_remote_disable_randomization): Likewise.
+ (remote_add_target_side_condition): Likewise.
+ (remote_insert_breakpoint): Likewise.
+ (remote_remove_breakpoint): Likewise.
+ (remote_insert_watchpoint): Likewise.
+ (remote_remove_watchpoint): Likewise.
+ (remote_insert_hw_breakpoint): Likewise.
+ (remote_insert_hw_breakpoint): Likewise.
+ (remote_remove_hw_breakpoint): Likewise.
+ (remote_download_command_source): Likewise.
+ (remote_download_tracepoint): Likewise.
+ (remote_download_trace_state_variable): Likewise.
+ (remote_disable_tracepoint): Likewise.
+ (remote_trace_set_readonly_regions): Likewise.
+ (remote_get_tracepoint_status): Likewise.
+ (remote_trace_find): Likewise.
+ (remote_get_trace_state_variable_value): Likewise.
+ (remote_set_disconnected_tracing): Likewise.
+ (remote_set_circular_trace_buffer): Likewise.
+ (remote_get_min_fast_tracepoint_insn_len): Likewise.
+ (remote_use_agent): Likewise.
+ (remote_add_target_side_condition): Add one parameter BUF_SIZE.
+ Update callers.
+
+2012-03-07 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention QProgramSignals.
+ * inferior.h (update_signals_program_target): Declare.
+ * infrun.c: (update_signals_program_target): New.
+ (handle_command): Update the target of the new program signals
+ array changes.
+ * remote.c (PACKET_QProgramSignals): New enum.
+ (last_program_signals_packet): New global.
+ (remote_program_signals): New.
+ (remote_start_remote): Update the target with the program signals
+ list.
+ (remote_protocol_features): Add entry for QPassSignals.
+ (remote_open_1): Free anc clear last_program_signals_packet.
+ (init_remote_ops): Install remote_program_signals.
+ * target.c (update_current_target): Adjust.
+ (target_program_signals): New.
+ * target.h (struct target_ops) <to_program_signals>: New field.
+ (target_program_signals): Declare.
+
+2012-03-07 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Add subtitle for new z0/z1 conditional breakpoint
+ extensions.
+
+2012-03-07 Andreas Schwab <schwab@linux-m68k.org>
+
+ * m68klinux-nat.c (getregs_supplies): Make static.
+ (getfpregs_supplies): Likewise.
+ (have_ptrace_getregs): Likewise.
+
+2012-03-06 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset
+ in call to get_die_type_at_offset.
+
+2012-03-06 Stan Shebs <stan@codesourcery.com>
+
+ * mi/mi-cmd-break.c: Enforce coding standards, fix comments.
+ * mi/mi-cmd-disas.c: Ditto.
+ * mi/mi-cmd-env.c: Ditto.
+ * mi/mi-cmd-file.c: Ditto.
+ * mi/mi-cmd-stack.c: Ditto.
+ * mi/mi-cmd-target.c: Ditto.
+ * mi/mi-cmd-var.c: Ditto.
+ * mi/mi-cmds.c: Ditto.
+ * mi/mi-cmds.h: Ditto.
+ * mi/mi-console.c: Ditto.
+ * mi/mi-getopt.c: Ditto.
+ * mi/mi-getopt.h: Ditto.
+ * mi/mi-interp.c: Ditto.
+ * mi/mi-main.c: Ditto.
+ * mi/mi-out.c: Ditto.
+ * mi/mi-parse.c: Ditto.
+ * mi/mi-parse.h: Ditto.
+ * mi/mi-symbol-cmds.c: Ditto.
+
+ * mi/mi-getopt.h: Move mi_opt struct up.
+ * mi/mi-main.c (captured_mi_execute_command): Remove redundant
+ return.
+ * mi/mi-out.c (_initialize_mi_out): Remove empty initialize.
+
+2012-03-06 Tom Tromey <tromey@redhat.com>
+
+ * proc-service.c (ps_pglobal_lookup): Set the current program
+ space.
+
+2012-03-06 Pedro Alves <palves@redhat.com>
+
+ * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
+
+2012-03-05 Joel Brobecker <brobecker@adacore.com>
+
+ * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
+
+2012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * common/linux-osdata.c (linux_common_core_of_thread): New function
+ comment.
+ * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
+ call by linux_common_core_of_thread.
+ (linux_nat_core_of_thread_1): Remove.
+ * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
+ * linux-thread-db.c: Include linux-osdata.h.
+ (update_thread_core): Replace linux_nat_core_of_thread_1 call by
+ linux_common_core_of_thread.
+
+2012-03-05 Tom Tromey <tromey@redhat.com>
+
+ * value.c (value_primitive_field): Don't fetch contents for
+ non-virtual bases.
+
+2012-03-05 Tom Tromey <tromey@redhat.com>
+
+ * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
+
+2012-03-05 Joel Brobecker <brobecker@adacore.com>
+
+ From Andreas Arnez <arnez@linux.vnet.ibm.com>:
+ * s390-nat.c: Include "gregset.h".
+
+2012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
+ [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
+ (libunwind_load): New variable so_error, use it for dlerror. Try to
+ load also LIBUNWIND_SO_7.
+
+2012-03-05 Pedro Alves <palves@redhat.com>
+
+ * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
+ is not NULL, and remove resulting dead code.
+
+2012-03-05 Thomas Schwinge <thomas@codesourcery.com>
+
+ * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
+ prologue to sh_analyze_prologue.
+ (sh_analyze_prologue): Make better use of such an upper limit, and
+ generally be more cautious about accessing memory.
+
+2012-03-05 Tom Tromey <tromey@redhat.com>
+
+ * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
+ _initialize_ia64_hpux_tdep.
+
+2012-03-05 Pedro Alves <palves@redhat.com>
+
+ PR gdb/13766
+
+ * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
+ the register state is clear, supply explicit zero, instead of
+ marking the register unavailable.
+
+2012-03-05 Tristan Gingold <gingold@adacore.com>
+
+ * NEWS: Mention OpenVMS ia64 new target.
+
+2012-03-05 Tristan Gingold <gingold@adacore.com>
+
+ * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
+ (ia64_unw_accessors, ia64_unw_rse_accessors)
+ (ia64_libunwind_descr): Declare.
+ * ia64-vms-tdep.c: New file.
+ * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
+ (ia64_libunwind_descr): Make them public.
+ * configure.tgt: Add ia64-*-*vms*.
+ * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
+ (ALLDEPFILES): Add ia64-vms-tdep.c
+
+2012-03-05 Tristan Gingold <gingold@adacore.com>
+
+ * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
+ * remote.c (PACKET_qXfer_uib): New enum value.
+ (remote_protocol_features): Add entry for PACKET_qXfer_uib.
+ (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
+ (_initialize_remote): Call add_packet_config_cmd for
+ xfer:uib packet.
+
+2012-03-05 Tristan Gingold <gingold@adacore.com>
+
+ * osabi.c (gdb_osabi_names): Add OpenVMS.
+ (generic_elf_osabi_sniffer): Likewise.
+ * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
+
+2012-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Removed unused code.
+ * libunwind-frame.c (libunwind_frame_unwind)
+ (libunwind_frame_base_address): Remove.
+ * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
+
+2012-03-04 Yao Qi <yao@codesourcery.com>
+
+ * common/agent.c (gdb_connect_sync_socket): Add _ markup and
+ remove trailing new line.
+ (agent_run_command, agent_run_command): Add _ markup.
+ (agent_capability_check): Likewise.
+
+2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (set_condition_evaluation_mode): Set
+ CONDITION_EVALUATION_MODE unconditionally.
+
+2012-03-03 Yao Qi <yao@codesourcery.com>
+
+ * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
+ * common/agent.h: Update declaration.
+ * inf-child.c (inf_child_use_agent): New.
+ (inf_child_can_use_agent): New.
+ (inf_child_target): Initialize fields `to_use_agent'
+ and `to_can_use_agent'.
+ * agent.c (agent_new_objfile): New.
+ (_initialize_agent): Add agent_new_objfile to new_objfile
+ observer.
+
+ * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
+ New.
+ (linux_target_install_ops): Initialize field
+ `to_static_tracepoint_markers_by_strid'.
+ * remote.c (free_current_marker): Move it to ...
+ * tracepoint.c (free_current_marker): ... here. New.
+ (cleanup_target_stop): New.
+ * tracepoint.h: Declare free_current_marker.
+ * NEWS: Add one entry about `info static-tracepoint-marker'.
+
+2012-03-03 Yao Qi <yao@codesourcery.com>
+
+ * common/agent.c (agent_loaded_p): New.
+ (agent_look_up_symbols): New global.
+ * common/agent.h: Declare agent_loaded_p.
+
+2012-03-03 Yao Qi <yao@codesourcery.com>
+
+ * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
+ (agent_capability_check, agent_capability_invalidate): New.
+ (symbol_list): New array element.
+ * common/agent.h (enum agent_capa): New.
+ * target.c (target_pre_inferior): Call agent_capability_invalidate.
+
+2012-03-03 Yao Qi <yao@codesourcery.com>
+
+ * target.h (struct target_ops) <to_use_agent>: New field.
+ (struct target_ops) <to_can_use_agent>: New field.
+ (target_use_agent, target_can_use_agent): New macro.
+ * target.c (update_current_target): Update.
+ * remote.c: New enum `PACKET_QAgent'.
+ (remote_protocol_features): Add a new element.
+ (remote_use_agent, remote_can_use_agent): New.
+ (init_remote_ops): Initialize field `can_use_agent' with
+ remote_can_use_agent. Intiailize field `use_agent' with
+ remote_use_agent.
+ * common/agent.c (use_agent): New global.
+ * common/agent.h: Declare it.
+ * tracepoint.c (info_static_tracepoint_markers_command): Add
+ comment.
+ * Makefile.in (SFILES): Add common/agent.c and agent.c.
+ (COMMON_OBS): Add common/agent.o and agent.o
+ (common-agent.o): New rule.
+ * agent.c: New.
+
+2012-03-03 Yao Qi <yao@codesourcery.com>
+
+ * common/agent.c: New.
+ * common/agent.h: New.
+ * configure.ac: Add `sys/socket.h' and `sys/un.h' to
+ AC_CHECK_HEADERS.
+ * configure, configh.in: Regenerated.
+
+2012-03-02 Kevin Buettner <kevinb@redhat.com>
+
+ * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
+ unless it exists for this architecture.
+
+2012-03-02 Joel Brobecker <brobecker@adacore.com>
+
+ * language.h (struct language_defn): New "method" la_read_var_value.
+ * findvar.c: #include "language.h".
+ (default_read_var_value): Renames read_var_value. Rewrite
+ function description.
+ (read_var_value): New function.
+ * value.h (default_read_var_value): Add prototype.
+ * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
+ New functions.
+ (ada_language_defn): Add entry for la_read_var_value.
+ * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
+ * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
+ language_defn structures to add entry for new la_read_var_value
+ field.
+
+2012-03-02 Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ PR breakpoints/13776:
+ * breakpoint.c (breakpoint_init_inferior): Delete step-resume
+ breakpoints.
+ (delete_longjmp_breakpoint_at_next_stop): New.
+ * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
+ * target.c (generic_mourn_inferior): Call mark_breakpoints_out
+ before deleting the inferior. Add comments.
+ * thread.c (clear_thread_inferior_resources): Don't delete lonjmp
+ breakpoints immediately, but only on next stop. Move that code
+ next to where we mark other breakpoints for deletion.
+
+2012-03-02 Joel Brobecker <brobecker@adacore.com>
+
+ * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
+ marker.
+ * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
+ violation.
+
+2012-03-02 Pedro Alves <palves@redhat.com>
+
+ * linux-thread-db.c (attach_thread): Avoid in_thread_list call.
+
+2012-03-02 Ulrich Weigand <uweigand@de.ibm.com>
+
+ Fix -Wmissing-prototypes build.
+ * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
+ * remote-sim.c (gdbsim_has_all_memory): Likewise.
+ (gdbsim_has_memory): Likewise.
+
+2012-03-02 Yao Qi <yao@codesourcery.com>
+
+ Fix -Wmissing-prototypes build.
+ * charset.c (phony_iconv_open): Make static.
+ (phony_iconv_close, phony_iconv): Likewise.
+ * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
+ * i386-windows-nat.c (_initialize_i386_windows_nat): New
+ prototype.
+ * mingw-hdep.c (_initialize_mingw_hdep): New prototype.
+ * ser-mingw.c (create_select_thread): Make static.
+ * windows-termcap.c (tgetent): New prototype.
+ (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
+
+2012-03-02 Zhang Yuanhui <asmwarrior@gmail.com>
+
+ Fix -Wmissing-prototypes build.
+ * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
+ (_initialize_windows_nat, _initialize_check_for_gdb_ini)
+ (_initialize_loadable): New prototypes.
+
+2012-03-02 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
+ abbrev table, read_comp_unit will do it.
+
+2012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix -Wmissing-prototypes build.
+ * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
+ * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
+ * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
+ * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
+ (_initialize_arm_symbian_tdep): New prototype.
+ * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
+ * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
+ * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
+ static.
+ * lm32-tdep.c (_initialize_lm32_tdep): New prototype.
+ * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
+ prototype.
+ * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
+ (microblaze_skip_prologue, microblaze_frame_cache): Make them static.
+ * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
+ static.
+ * moxie-tdep.c (moxie_process_record): Likewise.
+ * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
+ (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
+ * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
+ (_initialize_rl78_tdep): New prototype.
+ * rx-tdep.c (rx_breakpoint_from_pc): Make it static.
+ (_initialize_rx_tdep): New prototype.
+ * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
+ (_initialize_darwin_solib): New prototype.
+ * solib-spu.c: Include solib-spu.h.
+ (_initialize_spu_solib): New prototype.
+ * spu-multiarch.c (_initialize_spu_multiarch): New prototype.
+ * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
+ (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
+ (tic6x_software_single_step): Make it static.
+ (_initialize_tic6x_tdep): New prototype.
+
+2012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix -Wmissing-prototypes build.
+ * cris-tdep.c (cris_can_use_hardware_watchpoint)
+ (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.
+
+2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix -Wmissing-prototypes build.
+ * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
+ (frv_have_stopped_data_address): Remove.
+
+2012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix -Wmissing-prototypes build.
+ * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
+ * sh-tdep.c: Include sh64-tdep.h.
+ * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
+ * sh64-tdep.c: Include sh64-tdep.h.
+ * sh64-tdep.h: New file.
+
2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (mips32_scan_prologue): Correct indentation.