This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] mips-linux: remove deprecated_add_core_fns and use set_gdbarch_regset_from_core_section
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: teawater at gmail dot com (Hui Zhu)
- Cc: gdb-patches at sourceware dot org (gdb-patches ml)
- Date: Wed, 4 Aug 2010 15:55:04 +0200 (CEST)
- Subject: Re: [PATCH] mips-linux: remove deprecated_add_core_fns and use set_gdbarch_regset_from_core_section
Hui Zhu wrote:
> 2010-08-04 Hui Zhu <teawater@gmail.com>
>
> * mips-linux-tdep.c(regset.h): New include.
> (mips_supply_gregset_wrapper, mips_fill_gregset_wrapper,
> mips_supply_fpregset_wrapper, mips_fill_fpregset_wrapper,
> mips64_supply_gregset_wrapper, mips64_fill_gregset_wrapper,
> mips64_supply_fpregset_wrapper, mips64_fill_fpregset_wrapper,
> mips_linux_regset_from_core_section): New functions.
> (fetch_core_registers, regset_core_fns): Deleted.
> (mips_linux_init_abi): Add mips_linux_regset_from_core_section.
> Deleted regset_core_fns.
> * mips-tdep.c(mips_gdbarch_init): Initialize tdep->gregset,
> tdep->gregset64, tdep->fpregset and tdep->fpregset64.
> * mips-tdep.h(gdbarch_tdep): Add gregset, gregset64, fpregset
> and fpregset64.
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com