This is the mail archive of the
mailing list for the GDB project.
Re: core regs vs. proc-service regs mess
On Wed, Apr 05, 2006 at 10:25:21AM +0200, Mark Kettenis wrote:
> > This is completely contradictory, and I don't have any idea how to
> > cleanly resolve this outside of duplicating the entirety of
> > linux_nat_make_corefile_notes() on Linux/Sparc which is silly.
> > Daniel any ideas? :-) Maybe we can have a "linux_tdep" struct where we
> > can place a "->to_fill_core_gregset()" type method or similar?
> What really should happen is to convert linux_nat_make_corefile_notes() to
> use the regset_from_core_section() interface. Unfortunately that is quite
> a bit of work since most Linux targets don't provide that interface yet.
Shouldn't this be pretty simple: gdbarch_regset_from_core_section_p?