This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: make sim interface use gdbarch methods for collect/supply
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 30 Jun 2004 11:53:29 -0400
- Subject: Re: RFA: make sim interface use gdbarch methods for collect/supply
- References: <vt2vfh9avzo.fsf@zenia.home>
On Wed, Jun 30, 2004 at 10:47:23AM -0500, Jim Blandy wrote:
>
> At the moment, remote-sim.c's gdbsim_fetch_register and
> gdbsim_store_register functions assume that the simulator's register
> set (as visible via sim_fetch_register and sim_store_register)
> corresponds exactly to GDB's raw register set. This patch is meant to
> remove that assumption.
>
> Tested on i686-pc-linux-gnu x powerpc-eabispe (sim).
We've got a whole lot of new mechanism for describing register sets.
Can't you use that instead of adding new supply/collect routines?
--
Daniel Jacobowitz