From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3179 invoked by alias); 11 Nov 2004 09:57:37 -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 3140 invoked from network); 11 Nov 2004 09:57:32 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 11 Nov 2004 09:57:32 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id iAB9vVV1008392 for ; Thu, 11 Nov 2004 10:57:31 +0100 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Thu, 11 Nov 2004 10:55:46 +0100 Message-Id: <5.2.0.9.1.20041111105459.01d6ccb8@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Thu, 11 Nov 2004 15:07:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: set architecture for MPC8xx In-Reply-To: <41929228.4040608@neurizon.net> References: <938F1554888BD71194E100B0D0FCD97201AAD7E2@ge51smail2.ge51.honeywell.de> <938F1554888BD71194E100B0D0FCD97201AAD7E2@ge51smail2.ge51.honeywell.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-11/txt/msg00105.txt.bz2 >>I have tried the "set architecture" command for the powerpc MPC8xx. After >>this I see a lot of new registers. >>But for me it seems that these registers aren't really taking effects after >>changing their values. >>I found them in rs6000-tdep.c. >> >>Is there a way to use these additional registers sensible? > >Your target stub needs to support the "Architecture" otherwise it wont know how to set or get the values of the registers. > >If the target stub only reports/handles registers for the "generic" architecture, you will need to change it to handle all of the other registers. Is there a way to tell the stub the architecture gdb was set to? (Other than with the monitor command.) Thanks bye Fabi