From ed09174e35d31547d3b89f366890022fd1bee1ac Mon Sep 17 00:00:00 2001 From: Andreas Arnez Date: Sat, 29 Mar 2014 09:12:57 +0000 Subject: ARM: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections' For ARM BSD targets, don't define the gdbarch method 'regset_from_core_section', but the iterator method instead. gdb/ChangeLog: * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. (armbsd_iterate_over_regset_sections): New prototype. * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. (armbsd_iterate_over_regset_sections): New. * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch initialization. --- gdb/armobsd-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/armobsd-tdep.c') diff --git a/gdb/armobsd-tdep.c b/gdb/armobsd-tdep.c index f4904a3..d7bfddc 100644 --- a/gdb/armobsd-tdep.c +++ b/gdb/armobsd-tdep.c @@ -91,8 +91,8 @@ armobsd_init_abi (struct gdbarch_info info, tdep->jb_pc = 24; tdep->jb_elt_size = 4; - set_gdbarch_regset_from_core_section - (gdbarch, armbsd_regset_from_core_section); + set_gdbarch_iterate_over_regset_sections + (gdbarch, armbsd_iterate_over_regset_sections); /* OpenBSD/arm uses -fpcc-struct-return by default. */ tdep->struct_return = pcc_struct_return; -- cgit v1.1