diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-09-10 08:42:07 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-09-30 09:14:37 +0200 |
commit | 23ea9aebceb83a7b0e00da62de37d592ba51b616 (patch) | |
tree | acd5297ed9a4e0e0c4461fe78cf008c98de11edd /gdb/configure.tgt | |
parent | c5b8d704bc8cf2fa2c6f23cbdb57c935550e6a6a (diff) | |
download | gdb-23ea9aebceb83a7b0e00da62de37d592ba51b616.zip gdb-23ea9aebceb83a7b0e00da62de37d592ba51b616.tar.gz gdb-23ea9aebceb83a7b0e00da62de37d592ba51b616.tar.bz2 |
PPC: Migrate from 'regset_from_core_section' to 'iterate_over_regset_sections'
For PPC targets, no longer define the gdbarch method
'regset_from_core_section', but the iterator method instead.
gdb/ChangeLog:
* configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
FreeBSD targets.
* ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
method 'make_corefile_notes'.
* ppcfbsd-tdep.c (fbsd-tdep.h): Include.
(ppcfbsd_regset_from_core_section): Remove.
(ppcfbsd_iterate_over_regset_sections): New.
(ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
initialization.
* ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
(ppcnbsd_iterate_over_regset_sections): New.
(ppcnbsd_init_abi): Adjust.
* ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
(ppcobsd_iterate_over_regset_sections): New.
(ppcobsd_init_abi): Adjust.
* rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
(rs6000_aix_iterate_over_regset_sections): New.
(rs6000_aix_init_osabi): Adjust.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 4b09d3a..3111a2c 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -415,7 +415,7 @@ nios2*-*-*) powerpc*-*-freebsd*) # Target: FreeBSD/powerpc gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \ - ppcfbsd-tdep.o solib-svr4.o \ + ppcfbsd-tdep.o fbsd-tdep.o solib-svr4.o \ ravenscar-thread.o ppc-ravenscar-thread.o" ;; |