summaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.h
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-08-05 03:03:36 +0000
committerHui Zhu <teawater@gmail.com>2010-08-05 03:03:36 +0000
commit50e8a0d53b037c640e313d57ddbe88db8eeea5bb (patch)
tree6673fd6626be39931f3285d758f8fa7ec9c0ab04 /gdb/mips-tdep.h
parent966b060329894711be30d1aab7f295e61689cf1e (diff)
downloadbinutils-gdb-50e8a0d53b037c640e313d57ddbe88db8eeea5bb.tar.gz
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.
Diffstat (limited to 'gdb/mips-tdep.h')
-rw-r--r--gdb/mips-tdep.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
index e289818a4c5..48b63310ac2 100644
--- a/gdb/mips-tdep.h
+++ b/gdb/mips-tdep.h
@@ -97,6 +97,14 @@ struct gdbarch_tdep
int register_size_valid_p;
int register_size;
+ /* General-purpose registers. */
+ struct regset *gregset;
+ struct regset *gregset64;
+
+ /* Floating-point registers. */
+ struct regset *fpregset;
+ struct regset *fpregset64;
+
/* Return the expected next PC if FRAME is stopped at a syscall
instruction. */
CORE_ADDR (*syscall_next_pc) (struct frame_info *frame);