This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: rs6000: no more legacy regcache
- From: Jim Blandy <jimb at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 28 May 2004 18:28:10 -0500
- Subject: Re: RFA: rs6000: no more legacy regcache
- References: <vt2aczs5qta.fsf@zenia.home> <20040528140331.423d0a8b@saguaro>
Kevin Buettner <kevinb@redhat.com> writes:
> On 28 May 2004 13:50:41 -0500
> Jim Blandy <jimb@redhat.com> wrote:
>
> > This causes no regressions on powerpc-unknown-linux-gnu, and fixes
> > several failures in gdb.base/store.exp on powerpc-ibm-aix4.3.3.0.
> > It allows powerpc-eabispe to run on the simulator at all. And I think
> > it clears the way for removing the register offset stuff in
> > rs6000-tdep.c.
> >
> > 2004-05-27 Jim Blandy <jimb@redhat.com>
> >
> > * rs6000-tdep.c: Use the modern gdbarch methods for handling the
> > register set, so our regcache isn't declared "legacy" and our E500
> > pseudoregister read and write functions aren't ignored.
> > (rs6000_register_byte, rs6000_register_raw_size,
> > rs6000_register_virtual_type, rs6000_register_convertible,
> > rs6000_register_convert_to_virtual,
> > rs6000_register_convert_to_raw): Deleted.
> > (rs6000_register_type, rs6000_convert_register_p,
> > rs6000_register_to_value, rs6000_value_to_register): New
> > functions.
> > (rs6000_gdbarch_init): Don't register
> > gdbarch_deprecated_register_size,
> > gdbarch_deprecated_register_bytes,
> > gdbarch_deprecated_register_byte,
> > gdbarch_deprecated_register_raw_size,
> > gdbarch_deprecated_register_virtual_type,
> > gdbarch_deprecated_register_convertible,
> > gdbarch_deprecated_register_convert_to_virtual, or
> > gdbarch_deprecated_register_convert_to_raw methods. Instead,
> > register gdbarch_register_type, gdbarch_convert_register_p,
> > gdbarch_register_to_value, and gdbarch_value_to_register methods.
>
> Okay.
Committed, thanks.
I'll have a patch to get rid of regoff soon.