From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4462 invoked by alias); 20 Feb 2003 15:35:01 -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 4453 invoked from network); 20 Feb 2003 15:35:00 -0000 Received: from unknown (HELO ngate.noida.hcltech.com) (202.54.110.230) by 172.16.49.205 with SMTP; 20 Feb 2003 15:35:00 -0000 Received: from exch-01.noida.hcltech.com (exch-01 [204.160.254.29]) by ngate.noida.hcltech.com (8.9.3/8.9.3) with ESMTP id VAA06773; Thu, 20 Feb 2003 21:05:25 +0530 Received: by exch-01.noida.hcltech.com with Internet Mail Service (5.5.2656.59) id <1ABP3DQB>; Thu, 20 Feb 2003 20:58:26 +0530 Message-ID: From: "D.Venkatasubramanian, Noida" To: gnuh8@gnuh8.org.uk, gdb@sources.redhat.com Cc: "D.Venkatasubramanian, Noida" Subject: Adding MAC registers on H8300 Simulator [H8S/2600] Date: Thu, 20 Feb 2003 15:35:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2003-02/txt/msg00411.txt.bz2 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. Also, how do I make these registers conditionally displayed on GDB when the CPU is H8S/2600. Any pointers will be highly appreciated. ;-) Thanks and Regards, Venky