From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15812 invoked by alias); 18 Jun 2003 13:26:20 -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 15779 invoked from network); 18 Jun 2003 13:26:19 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 18 Jun 2003 13:26:19 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19Scxv-0007Ou-00; Wed, 18 Jun 2003 08:27:07 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19Scx5-00072h-00; Wed, 18 Jun 2003 09:26:15 -0400 Date: Wed, 18 Jun 2003 13:26:00 -0000 From: Daniel Jacobowitz To: saleru.raja@iap-online.com Cc: gdb@sources.redhat.com Subject: Re: init_registers Message-ID: <20030618132614.GA27052@nevyn.them.org> Mail-Followup-To: saleru.raja@iap-online.com, gdb@sources.redhat.com References: <200306180425.h5I4PTIq019042@www.iap-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306180425.h5I4PTIq019042@www.iap-online.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00373.txt.bz2 On Wed, Jun 18, 2003 at 01:25:29PM +0900, saleru.raja@iap-online.com wrote: > > Hello, > Please look at the following function, which is in file "regdat.sh" in > GDB > > void > init_registers () > { > set_register_cache (regs_${name}, > sizeof (regs_${name}) / sizeof (regs_${name}[0])); > gdbserver_expedite_regs = expedite_regs_${name}; > } > > If the target is "sh-elf", then what will be the modified function after > compiling ? It won't be used, because this function is used for gdbserver, not currently for gdb. Build for sh-linux and take a look yourself. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer