From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4472 invoked by alias); 30 Jun 2004 15:53:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4360 invoked from network); 30 Jun 2004 15:53:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 30 Jun 2004 15:53:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BfhOr-00055n-LE; Wed, 30 Jun 2004 11:53:29 -0400 Date: Wed, 30 Jun 2004 15:53:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: make sim interface use gdbarch methods for collect/supply Message-ID: <20040630155329.GA19452@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00695.txt.bz2 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