ALPHA: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 35ecebcafd2868e1ff429239346384ddd522dd0c..af139f18dc4ad02c487a8377fd65e9946f3cbdab 100644 (file)
@@ -1,3 +1,172 @@
+2014-09-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
+       (alpha_linux_iterate_over_regset_sections): New.
+       (alpha_linux_init_abi): Adjust gdbarch initialization.
+       * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
+       prototype.
+       (alphanbsd_iterate_over_regset_sections): New prototype.
+
+2014-09-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
+       Remove.
+       (aarch64_linux_iterate_over_regset_sections): New.
+       (aarch64_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * fbsd-tdep.c: New file.
+       * fbsd-tdep.h: New file.
+       * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
+       (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
+       (ALLDEPFILES): Add fbsd-tdep.c.
+
+2014-09-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
+       parameter.
+       * gdbarch.h: Regenerate.
+       * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
+       iterator.
+       (get_core_register_section): Add parameter 'regset' and use it, if
+       set.  Add parameter 'min_size' and verify the bfd section size
+       against it.
+       (get_core_registers_cb): Add parameter 'regset' and pass it to
+       get_core_register section.  For the "standard" register sections
+       ".reg" and ".reg2", set an appropriate default for human_name.
+       (get_core_registers): Don't abort when the gdbarch has an iterator
+       but no regset_from_core_section.  Add NULL/0 for parameters
+       'regset'/'min_size' in calls to get_core_register_section.
+       * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
+       'regset' and use it instead of calling the
+       regset_from_core_section gdbarch method.
+       * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
+       * i386-tdep.c (i386_supply_xstateregset)
+       (i386_collect_xstateregset, i386_xstateregset): Moved to
+       i386-linux-tdep.c.
+       (i386_regset_from_core_section): Drop handling for .reg-xfp and
+       .reg-xstate.
+       (i386_gdbarch_init): Set tdep field 'fpregset'.  Enable generic
+       core file support only if the regset iterator hasn't been set.
+       * i386-linux-tdep.c (i386_linux_supply_xstateregset)
+       (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
+       Moved from i386-tdep.c and renamed to *_linux*.
+       (i386_linux_iterate_over_regset_sections): Add regset parameter to
+       each callback invocation.  Allow any .reg-xstate size when reading
+       from a core file.
+       * amd64-tdep.c (amd64_supply_xstateregset)
+       (amd64_collect_xstateregset, amd64_xstateregset): Moved to
+       amd64-linux-tdep.c.
+       (amd64_regset_from_core_section): Remove.
+       (amd64_init_abi): Set new tdep field 'fpregset'.  No longer
+       install an amd64-specific regset_from_core_section gdbarch method.
+       * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
+       (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
+       Moved from amd64-tdep.c and renamed to *_linux*.
+       (amd64_linux_iterate_over_regset_sections): Add regset parameter
+       to each callback invocation.  Allow any .reg-xstate size when
+       reading from a core file.
+       * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
+       (arm_linux_iterate_over_regset_sections): Add regset parameter to
+       each callback invocation.
+       (arm_linux_init_abi): No longer set the regset_from_core_section
+       gdbarch method.
+       * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
+       (ppc_linux_iterate_over_regset_sections): Add regset parameter to
+       each callback invocation.
+       (ppc_linux_init_abi): No longer set the regset_from_core_section
+       gdbarch method.
+       * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
+       gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
+       (s390_regset_from_core_section): Remove.
+       (s390_iterate_over_regset_sections): Add regset parameter to each
+       callback invocation.
+       (s390_gdbarch_init): No longer set the regset_from_core_section
+       gdbarch method.  Drop initialization of deleted tdep fields.
+
+2014-09-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
+       (amd64_linux_iterate_over_regset_sections): New.
+       (amd64_linux_init_abi_common): Don't install the regset section
+       list, but the new iterator in gdbarch.
+       * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
+       (arm_linux_vfp_regset_sections): Remove.  Move combined logic...
+       (arm_linux_iterate_over_regset_sections): ...here.  New function.
+       (arm_linux_init_abi): Set iterator instead of section list.
+       * corelow.c (get_core_registers_cb): New function, logic moved
+       from...
+       (get_core_registers): ...loop body here.  Use new iterator method
+       instead of walking through the regset section list.
+       * gdbarch.sh: Remove 'core_regset_sections'.  New method
+       'iterate_over_regset_sections'.  New typedef
+       'iterate_over_regset_sections_cb'.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Likewise.
+       * i386-linux-tdep.c (i386_linux_regset_sections)
+       (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
+       Remove.
+       (i386_linux_iterate_over_regset_sections): New.
+       (i386_linux_init_abi): Don't choose a regset section list, but
+       install new iterator in gdbarch.
+       * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
+       (linux_collect_regset_section_cb): New function, logic moved
+       from...
+       (linux_collect_thread_registers): ...loop body here.  Use iterator
+       method instead of walking through list.
+       (linux_make_corefile_notes_1): Check for presence of iterator
+       method instead of regset section list.
+       * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
+       (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
+       (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
+       (ppc64_linux_fp_regset_sections): Remove.  Move combined logic...
+       (ppc_linux_iterate_over_regset_sections): ...here.  New function.
+       (ppc_linux_init_abi): Don't choose from above regset section
+       lists, but install new iterator in gdbarch.
+       * regset.h (struct core_regset_section): Remove.
+       * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
+       have_linux_v1, have_linux_v2, and have_tdb.
+       (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
+       (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
+       (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
+       (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
+       (s390x_linux64v2_regset_sections): Remove.  Move combined logic...
+       (s390_iterate_over_regset_sections): ...here.  New function.  Use
+       new tdep fields.
+       (s390_gdbarch_init): Set new tdep fields.  Don't choose from above
+       regset section lists, but install new iterator.
+
+2014-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
+
+2014-09-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * progspace.c (print_program_space): Don't prune program spaces
+       before printing them.
+
+2014-09-25  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (user_visible_resume_ptid): Don't check
+       singlestep_breakpoints_inserted_p.
+
+2014-09-25  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (should_be_inserted): Add debug output.
+
+2014-09-25  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (stepping_past_instruction_at)
+       (clear_exit_convenience_vars): Point at infrun.h instead of
+       inferior.h.
+       (handle_signal_stop): Fix typo.
+
+2014-09-24  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
+       bitmask.
+
 2014-09-22  Gary Benson  <gbenson@redhat.com>
 
        * target.c (target_stop): Updated comment.
This page took 0.051507 seconds and 4 git commands to generate.