+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.
+
+2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
+ sp_regnum once the gdbarch_init_osabi hook has been called.
+
+2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips32_bc1_pc): New function.
+ (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
+ BPOSGE32 and BPOSGE64 instructions.
+ (deal_with_atomic_sequence): Likewise.
+ (mips32_instruction_has_delay_slot): Likewise.
+
+2012-03-01 Maciej W. Rozycki <macro@mips.com>
+ Chris Dearman <chris@mips.com>
+ Maciej W. Rozycki <macro@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * features/mips-dsp.xml: New file.
+ * features/mips64-dsp.xml: New file.
+ * features/mips-dsp-linux.xml: New file.
+ * features/mips64-dsp-linux.xml: New file.
+ * features/Makefile (WHICH): Add mips-dsp-linux and
+ mips64-dsp-linux.
+ (mips-dsp-expedite, mips64-dsp-expedite): New variables.
+ * features/mips-dsp-linux.c: New file.
+ * features/mips64-dsp-linux.c: New file.
+ * regformats/mips-dsp-linux.dat: New file.
+ * regformats/mips64-dsp-linux.dat: New file.
+ * mips-linux-nat.c (mips_linux_register_addr): Handle DSP
+ registers.
+ (mips64_linux_register_addr): Likewise.
+ (mips64_linux_regsets_fetch_registers): Likewise.
+ (mips64_linux_regsets_store_registers): Likewise.
+ (mips64_linux_fetch_registers): Update call to
+ mips64_linux_regsets_fetch_registers.
+ (mips64_linux_store_registers): Update call to
+ mips64_linux_regsets_store_registers.
+ (mips_linux_read_description): Probe for DSP registers.
+ (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
+ and initialize_tdesc_mips64_dsp_linux.
+ * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
+ Remove padding of no longer used embedded register slots.
+ * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
+ (MIPS_RESTART_REGNUM): Redefine enum value.
+ * mips-tdep.c (mips_generic_reg_names): Remove trailing null
+ strings.
+ (mips_tx39_reg_names): Likewise.
+ (mips_linux_reg_names): New array of register names for Linux
+ targets.
+ (mips_register_name): Check for a null pointer in
+ mips_processor_reg_names and return an empty string.
+ (mips_register_type): Exclude embedded registers for the IRIX
+ and Linux ABIs.
+ (mips_pseudo_register_type): Likewise. Use dynamic numbers to
+ refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle
+ DSP registers.
+ (mips_stab_reg_to_regnum): Handle DSP accumulators.
+ (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
+ (mips_gdbarch_init): Likewise. Initialize internal register
+ indices for the Linux ABI. Use dynamic numbers to refer to
+ registers, as applicable, while parsing the target description.
+ * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
+
+2012-03-01 Joel Brobecker <brobecker@adacore.com>
+
+ * frame.h (read_frame_register_unsigned): Fix typo in function
+ description.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * jit-reader.in [!__cplusplus]
+ (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (build_warnings): Add -Wmissing-prototypes.
+ * configure: Regenerate.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
+ * breakpoint.c (create_exception_master_breakpoint, trace_command)
+ (ftrace_command, strace_command): Make static.
+ * d-lang.c (_initialize_d_language): Declare.
+ * dwarf2expr.c (_initialize_dwarf2expr): Declare.
+ * dwarf2loc.c (_initialize_dwarf2loc):
+ * dwarf2read.c (process_psymtab_comp_unit): Make static.
+ * exec.c (exec_get_section_table): Make static.
+ * i386-linux-tdep.c (i386_linux_record_signal): Make static.
+ * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
+ * inferior.c (remove_inferior_command, add_inferior_command)
+ (clone_inferior_command): Make static.
+ * linux-nat.c (linux_nat_thread_address_space)
+ (linux_nat_core_of_thread): Make static.
+ * linux-tdep.c (_initialize_linux_tdep): Declare.
+ * objc-lang.c (_initialize_objc_lang): Declare.
+ * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
+ Make static.
+ (_initialize_opencl_language): Declare.
+ * record.c (_initialize_record): Declare.
+ * remote.c (demand_private_info, remote_get_tib_address)
+ (remote_supports_cond_tracepoints)
+ (remote_supports_fast_tracepoints, remote_get_tracepoint_status):
+ Make static.
+ * skip.c (_initialize_step_skip): Declare.
+ * symtab.c (skip_prologue_using_lineinfo): Make static.
+ * tracepoint.c (delete_trace_state_variable)
+ (trace_variable_command, delete_trace_variable_command)
+ (get_uploaded_tsv, find_matching_tracepoint_location)
+ (find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
+ Make static.
+ * value.c (pack_unsigned_long): Make static.
+ * varobj.c (varobj_ensure_python_env): Make static.
+ * windows-tdep.c (_initialize_windows_tdep): Declare.
+ * xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * linux-tdep.c (linux_has_shared_address_space): Make static. Add
+ gdbarch parameter.
+ (linux_init_abi): Install it as has_shared_address_space gdbarch
+ callback.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * observer.c (observer_test_first_notification_function)
+ (observer_test_second_notification_function)
+ (observer_test_third_notification_function): Add declarations.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * common/signals.c (default_target_signal_to_host)
+ (default_target_signal_from_host): Move ...
+ * arch-utils.c: ... here.
+ * arch-utils.h (default_target_signal_to_host)
+ (default_target_signal_from_host): Declare.
+
+ * common/signals.c (target_signal_from_command): Move ...
+ * infrun.c: ... here.
+ * inferior.h (target_signal_from_command): Declare.
+ * target.h (target_signal_from_command)
+ (default_target_signal_from_host, default_target_signal_to_host):
+ Delete declarations.
+
+ * common/signals.c (_initialize_signals): Delete.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * jit-reader.in (plugin_is_GPL_compatible): Add declarations for
+ both __cplusplus and !__cplusplus.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * psymtab.c (find_and_open_source): Delete declaration.
+ * source.c (find_and_open_source): Move comment ...
+ * source.h (find_and_open_source): ... to this new declaration.
+
2012-03-01 Pedro Alves <palves@redhat.com>
* inline-frame.c: Include inline-frame.h.