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: Kevin Buettner <kevinb at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 28 May 2004 14:03:31 -0700
- Subject: Re: RFA: rs6000: no more legacy regcache
- Organization: Red Hat
- References: <vt2aczs5qta.fsf@zenia.home>
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.
Kevin