From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16999 invoked by alias); 27 Dec 2001 17:02:58 -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 16936 invoked from network); 27 Dec 2001 17:02:56 -0000 Received: from unknown (HELO harvester.transas.com) (193.125.200.2) by sources.redhat.com with SMTP; 27 Dec 2001 17:02:56 -0000 Received: from localhost (localhost [127.0.0.1]) by harvester.transas.com (Postfix) with SMTP id B11946B828; Thu, 27 Dec 2001 20:02:55 +0300 (MSK) Received: from clue.transas.com (clue.transas.com [10.0.0.42]) by harvester.transas.com (Postfix) with ESMTP id 2E8C56B81F; Thu, 27 Dec 2001 20:02:55 +0300 (MSK) Received: by clue.transas.com with Internet Mail Service (5.5.2653.19) id ; Thu, 27 Dec 2001 20:02:55 +0300 Message-ID: <2E74F312D6980D459F3A05492BA40F8D61DB38@clue.transas.com> From: Andrew Volkov To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: [RFC/patch 5.1] change NUM_REALREGS to NUM_REGS Date: Thu, 27 Dec 2001 09:02:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C18EF8.535C8350" X-SW-Source: 2001-12/txt/msg00588.txt.bz2 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C18EF8.535C8350 Content-Type: text/plain; charset="koi8-r" Content-length: 185 The attached patch replace NUM_REALREGS macro to NUM_REGS, and NUM_REGS to NUM_REGS + NUM_PSEUDO_REGS. I need this for H8300 maltiarching. Any suggestions/comments ? Andrey Volkov ------_=_NextPart_000_01C18EF8.535C8350 Content-Type: application/octet-stream; name="remote-e7000.diff" Content-Disposition: attachment; filename="remote-e7000.diff" Content-length: 885 --- remote-e7000.c.old Mon Jul 16 00:34:13 2001 +++ remote-e7000.c Thu Dec 27 19:16:06 2001 @@ -922,7 +922,7 @@ fetch_regs_from_dump (gch, wanted); /* And supply the extra ones the simulator uses */ - for (regno = NUM_REALREGS; regno < NUM_REGS; regno++) + for (regno = NUM_REGS; regno < NUM_REGS + NUM_PSEUDO_REGS; regno++) { int buf = 0; @@ -946,7 +946,7 @@ { int regno; - for (regno = 0; regno < NUM_REALREGS; regno++) + for (regno = 0; regno < NUM_REGS; regno++) e7000_store_register (regno); registers_changed (); @@ -2059,7 +2059,7 @@ fetch_regs_from_dump (gch, wanted_nopc); /* And supply the extra ones the simulator uses */ - for (regno = NUM_REALREGS; regno < NUM_REGS; regno++) + for (regno = NUM_REGS; regno < NUM_REGS + NUM_PSEUDO_REGS; regno++) { int buf = 0; supply_register (regno, (char *) &buf); ------_=_NextPart_000_01C18EF8.535C8350--