SH: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 29 Nov 2013 16:57:54 +0000 (16:57 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 30 Sep 2014 07:14:37 +0000 (09:14 +0200)
commitc6d41a6f5380624846daca4d9aad5988b3946cbd
tree2b96ea0f4a9284751f93a77ddbc6acd275e56b91
parent9845a0b521d8a9a117d37dbfdec56677dd7cdae8
SH: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'

For Super-H targets, no longer define the gdbarch method
'regset_from_core_section', but the iterator method instead.

gdb/ChangeLog:

* sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
'sizeof_gregset' and 'sizeof_fpregset'.
* sh-tdep.c (sh_regset_from_core_section): Remove.
(sh_iterate_over_regset_sections): New.
(sh_gdbarch_init): Adjust gdbarch initialization.
* sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
sizeof_fpregset.
* shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
'sizeof_gregset'.
gdb/ChangeLog
gdb/sh-linux-tdep.c
gdb/sh-tdep.c
gdb/sh-tdep.h
gdb/shnbsd-tdep.c