From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3829 invoked by alias); 12 Mar 2003 21:24:48 -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 3805 invoked from network); 12 Mar 2003 21:24:47 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Mar 2003 21:24:47 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h2CLOkQ04001 for ; Wed, 12 Mar 2003 16:24:47 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h2CLOjQ27123; Wed, 12 Mar 2003 16:24:45 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h2CLOh529252; Wed, 12 Mar 2003 13:24:43 -0800 Message-ID: <3E6FA59B.AD127099@redhat.com> Date: Wed, 12 Mar 2003 21:24:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: "D.Venkatasubramanian, Noida" CC: gnuh8@gnuh8.org.uk, gdb@sources.redhat.com Subject: Re: Adding MAC registers on H8300 Simulator [H8S/2600] References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00201.txt.bz2 "D.Venkatasubramanian, Noida" wrote: > > Hi All, > > As the H8S/2600 CPU has MAC registers, specifically > MACH and MACL, I added them to the H8300 Simulator. How > do I make GDB recognize these registers, more > specifically, what are the files that need to be > modified? In the simulator, I have added the registers > in the cpu_state structure and some other places. Hi Venky -- You did? I don't see your changes in the repository, nor do I see your name in the ChangeLog. I would be interested in helping you get these changes in. Can you send me your patches, or pointers to them? > Also, how do I make these registers conditionally > displayed on GDB when the CPU is H8S/2600. This sounds like a job for -- gdbarch! Don't worry, it should not be too difficult. Michael