gdb:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ce3d48e7a12c8ab8e14d969163bf57ccc86852f2..3e6e5010cd7421526f3e60d72ba73a7699b4fdf8 100644 (file)
@@ -1,3 +1,240 @@
+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]
This page took 0.029401 seconds and 4 git commands to generate.