From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28845 invoked by alias); 8 Aug 2003 20:55:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28838 invoked from network); 8 Aug 2003 20:55:03 -0000 Received: from unknown (HELO kraid.nerim.net) (62.4.16.105) by sources.redhat.com with SMTP; 8 Aug 2003 20:55:03 -0000 Received: from nerim.fr (stcarrez.net1.nerim.net [62.212.108.40]) by kraid.nerim.net (Postfix) with ESMTP id CD58240E2D; Fri, 8 Aug 2003 22:55:00 +0200 (CEST) Message-ID: <3F340E26.7000302@nerim.fr> Date: Fri, 08 Aug 2003 20:55:00 -0000 From: Stephane Carrez User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [PATCH]: Fix page register definition in HC11 simulator Content-Type: multipart/mixed; boundary="------------050407080906050200070002" X-SW-Source: 2003-08/txt/msg00137.txt.bz2 This is a multi-part message in MIME format. --------------050407080906050200070002 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 371 Hi! This patch fixes the definition of page register in simulator so that it matches gdb definition (ok, I could have used a gdb mapping but I prefer to have the same numbers everywhere if possible). Committed on 6_0 and mainline. Stephane 2003-08-08 Stephane Carrez * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb. --------------050407080906050200070002 Content-Type: text/plain; name="sim-fix.diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sim-fix.diffs" Content-length: 563 Index: sim-main.h =================================================================== RCS file: /cvs/src/src/sim/m68hc11/sim-main.h,v retrieving revision 1.9.44.1 diff -u -p -r1.9.44.1 sim-main.h --- sim-main.h 8 Aug 2003 20:26:28 -0000 1.9.44.1 +++ sim-main.h 8 Aug 2003 20:30:19 -0000 @@ -79,8 +79,8 @@ enum cpu_type #define A_REGNUM 5 #define B_REGNUM 6 #define PSW_REGNUM 7 -#define Z_REGNUM 8 -#define PAGE_REGNUM 9 +#define PAGE_REGNUM 8 +#define Z_REGNUM 9 typedef struct m6811_regs { unsigned short d; --------------050407080906050200070002--