2010-08-05 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Thu, 5 Aug 2010 03:03:36 +0000 (03:03 +0000)
committerHui Zhu <teawater@gmail.com>
Thu, 5 Aug 2010 03:03:36 +0000 (03:03 +0000)
commit50e8a0d53b037c640e313d57ddbe88db8eeea5bb
tree6673fd6626be39931f3285d758f8fa7ec9c0ab04
parent966b060329894711be30d1aab7f295e61689cf1e
2010-08-05  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.
gdb/ChangeLog
gdb/mips-linux-tdep.c
gdb/mips-tdep.c
gdb/mips-tdep.h