From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31465 invoked by alias); 13 Feb 2002 11:40:00 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 31387 invoked from network); 13 Feb 2002 11:39:50 -0000 Received: from unknown (HELO wonka.esatclear.ie) (194.145.128.5) by sources.redhat.com with SMTP; 13 Feb 2002 11:39:50 -0000 Received: from esatclear.ie (IDENT:httpd@gratin.esatclear.ie [194.145.128.35]) by wonka.esatclear.ie (8.9.3/8.9.3) with SMTP id LAA20545; Wed, 13 Feb 2002 11:39:40 GMT From: "David Mc Kenna" Reply-to: mckennad@esatclear.ie To: Andrew Cagney , Keith Seitz , mckennad@esatclear.ie, insight@sources.redhat.com Date: Wed, 13 Feb 2002 03:40:00 -0000 Subject: Re: Adding Registers X-Mailer: CWMail Web to Mail Gateway 2.6z, http://netwinsite.com/top_mail.htm Message-id: <3c932a4a.62b9.0@esatclear.ie> X-User-Info: 137.71.23.54 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q1/txt/msg00115.txt.bz2 Thanks for the help. Just one or two more questions. I have modified tm-arm.h from #define NUM_GREGS 16 /* Number of general purpose registers. */ to #define NUM_GREGS 18 /* Number of general purpose registers. */ This increases the number of registers that is seen by GDB/Inishgt by 2. I have modified arm-tdep.c from "fps", "cpsr"}; /* 24 25 26 27 */ to "fps", "cpsr", "r13" , "r14" }; /* 24 25 26 27 */ /*Modified by David McKenna */ I have recompilied Insight/GDB with no problems and the new registers appear in the Register window. I have tried looking for the function target_fetch/store_registers() but I am unable to locate it in any C file. I am assuming that this is where you define what memory location you want the registers to look at. If possible could you point me in the right direction, Thanks, Dave Mc Kenna -- http://www.iol.ie