diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-03-29 09:12:57 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-09-30 09:14:34 +0200 |
commit | ed09174e35d31547d3b89f366890022fd1bee1ac (patch) | |
tree | ec7162a3f156541b97551c8af428cf41d3ec83fe /gdb/armobsd-tdep.c | |
parent | dff2166ef98100e28ae22146bcdcd1a0aec9f952 (diff) | |
download | binutils-gdb-ed09174e35d31547d3b89f366890022fd1bee1ac.tar.gz |
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.
Diffstat (limited to 'gdb/armobsd-tdep.c')
-rw-r--r-- | gdb/armobsd-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/armobsd-tdep.c b/gdb/armobsd-tdep.c index f4904a30930..d7bfddc1d63 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; |