SPARC: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 29 Nov 2013 17:02:53 +0000 (17:02 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 30 Sep 2014 07:14:38 +0000 (09:14 +0200)
commite5139de88ebbfb9ce9c121e526fa507d0fa4fcea
tree48c1ef2cf9bfb8d743fb75364c49442a96a628da
parentc6d41a6f5380624846daca4d9aad5988b3946cbd
SPARC: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'

For SPARC targets, no longer define the gdbarch method
'regset_from_core_section', but the iterator method instead.

gdb/ChangeLog:

* sparc-tdep.c (sparc_regset_from_core_section): Remove.
(sparc_iterate_over_regset_sections): New.
(sparc32_gdbarch_init): Adjust gdbarch initialization.
* configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
targets.
* sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
(sparc64fbsd_init_abi): Call fbsd_init_abi.
* sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
target method 'make_corefile_notes'.
gdb/ChangeLog
gdb/configure.tgt
gdb/sparc-tdep.c
gdb/sparc64fbsd-nat.c
gdb/sparc64fbsd-tdep.c