* sparc-tdep.h (struct regset): Provide opaque declaration.
authorMark Kettenis <kettenis@gnu.org>
Sat, 10 Jan 2004 23:43:25 +0000 (23:43 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 10 Jan 2004 23:43:25 +0000 (23:43 +0000)
commita54124c5e3df343fbffbbfc5fe2766773ff18c15
treec8b19fa973097b228826b2375315fc4bdc063b38
parent6514c26378435fe89e5ff14d06ae92b061839e6f
* sparc-tdep.h (struct regset): Provide opaque declaration.
(struct gdbarch_tdep): Add gregset, sizeof_gregset,
fpregset and sizeof_fpregset members.
* sparc-tdep.c (struct regset): Provide opaque declaration.
(sparc_regset_from_core_section): New function.
(sparc32_gdbarch_init): Initialize TDEP->gregset,
TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
Set regset_from_core_section when appropriate.
gdb/ChangeLog
gdb/sparc-tdep.c
gdb/sparc-tdep.h