NIOS2: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 2 Sep 2014 14:00:44 +0000 (14:00 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 30 Sep 2014 07:14:37 +0000 (09:14 +0200)
commitc5b8d704bc8cf2fa2c6f23cbdb57c935550e6a6a
treea272c2bc42db01f31c3590345165de3701786304
parent3636e6083c1dc792e2fe0142f45e9f86cc593528
NIOS2: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'

For Nios II GNU/Linux targets, no longer define the gdbarch method
'regset_from_core_section', but the iterator method instead.

gdb/ChangeLog:

* nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
(nios2_regset_from_core_section): Remove.
(nios2_iterate_over_regset_sections): New.
(nios2_linux_init_abi): Adjust gdbarch initialization.
gdb/ChangeLog
gdb/nios2-linux-tdep.c