From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19007 invoked by alias); 14 Feb 2002 12:32:35 -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 18917 invoked from network); 14 Feb 2002 12:32:32 -0000 Received: from unknown (HELO wonka.esatclear.ie) (194.145.128.5) by sources.redhat.com with SMTP; 14 Feb 2002 12:32:32 -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 MAA20463; Thu, 14 Feb 2002 12:32:25 GMT From: "David Mc Kenna" Reply-to: mckennad@esatclear.ie To: Andrew Cagney , mckennad@esatclear.ie, Keith Seitz , insight@sources.redhat.com Date: Thu, 14 Feb 2002 04:32:00 -0000 Subject: Re: Adding Registers X-Mailer: CWMail Web to Mail Gateway 2.6z, http://netwinsite.com/top_mail.htm Message-id: <3c948824.1980.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/msg00129.txt.bz2 Thanks for the help. A few more questions. Andrew refers to the internal number of each register. I am dealing with a memory mapped register and as such it has no number, how is this dealt with in the functions. Also I have not found were the registers are written, I have gotten as far as void gdbarch_register_write (struct gdbarch *gdbarch, int regnum, char *buf) { if (gdbarch->register_write == 0) internal_error (__FILE__, __LINE__, "gdbarch: gdbarch_register_write invalid"); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_register_write called\n"); gdbarch->register_write (gdbarch, regnum, buf); } from gdbarch.c . Were do I go from here? Any help is greatly appreciated, Dave Mc Kenna -- http://www.iol.ie