From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5050 invoked by alias); 17 Jan 2002 21:50:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5002 invoked from network); 17 Jan 2002 21:50:44 -0000 Received: from unknown (HELO tooth.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 17 Jan 2002 21:50:44 -0000 Received: (from fche@localhost) by tooth.toronto.redhat.com (8.11.6/8.11.0) id g0HLohW01489; Thu, 17 Jan 2002 16:50:43 -0500 X-Authentication-Warning: tooth.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: bgat@billgatliff.com, gdb@sources.redhat.com Subject: Re: How to map memory for SH simulator? References: <20020117121015.A27796@saturn.billgatliff.com> <3C47309F.70801@cygnus.com> Content-Type: text/plain; charset=US-ASCII From: fche@redhat.com (Frank Ch. Eigler) Date: Thu, 17 Jan 2002 13:50:00 -0000 In-Reply-To: <3C47309F.70801@cygnus.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 X-SW-Source: 2002-01/txt/msg00192.txt.bz2 cagney wrote: > [...] > > The sim/common family of simulators (sh, etc.) uses an alternate > > syntax to specify additional simulated memory regions. [...] > > Er, are you sure about this? Uh, good point, thanks for pointing that out. Sorry - I was thinking of another sh simulator. There are a few stragglers in sim/*, including the old "sh", that don't use enough common code to do this configuration in a uniform way. This hegemony is what the sim/common, and the later sid frameworks have been aiming to correct, but these old ports just won't go away by themselves. :-) Anyway, gazing at sim/sh/interp.c, there is a possibly useful "sim set-memory-size NUMBITS" gdb command, with a similar unadorned "sh-*-run PROGRAM NUMBITS" command line argument. - FChE