+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.
+
+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.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * tui/tui-data.c (set_gen_win_origin): Delete.
+ * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
+ * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * remote.c (encode_actions): Delete declaration.
+ * tracepoint.c (encode_actions): Make extern.
+ * tracepoint.h (encode_actions): Declare.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * python/py-breakpoint.c: Include python.h.
+ * python/py-continueevent.c (create_continue_event_object): Make
+ static.
+ * python/py-lazy-string.c (stpy_get_type): Make static.
+ * python/py-newobjfileevent.c (create_new_objfile_event_object):
+ Make static.
+ * python/py-utils.c (unicode_to_target_python_string): Make
+ static.
+ * python/py-value.c: Include python.h.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * inferior.c (delete_threads_of_inferior): Delete.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ Import fallback definitions from glibc.
+
+ * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
+ ps_prochandle): Forward declare.
+ (ps_err_e): Use glibc's comments.
+ [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
+ (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
+ (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
+ (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
+ (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
+ (struct ps_prochandle): Adjust comment.
+
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (ada_modulus_from_name): Delete.
+ * ada-lex.l (lexer_init): Make static.
+
2012-03-01 Pedro Alves <palves@redhat.com>
PR gdb/13767