From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id CGS0IB5nVWMpxQ8AWB0awg (envelope-from ) for ; Sun, 23 Oct 2022 12:09:02 -0400 Received: by simark.ca (Postfix, from userid 112) id 805021E112; Sun, 23 Oct 2022 12:09:02 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=NmZwPJUq; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 226251E0D5 for ; Sun, 23 Oct 2022 12:09:02 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 80234384D154 for ; Sun, 23 Oct 2022 16:09:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80234384D154 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666541341; bh=nXA5AIZiBnDLGcVuWYlkM4Ka7yzpRMcw3j3k/eEvVHg=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=NmZwPJUqOXi57qpo+DrakM+GhhwVolcHwSVm00N8piYuc/ZMFsCebG/Rm8E5Zvmbc ZPkoGee4mb7dkCDJtm9DAunVwU6xWLBD6H22jiBIzuoKvDpWpXZqOWeW6PolYKolos M0yrJAfA6TVtb+dkS+5u3RfSmzTANeyoQOLusDZM= Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id AB6BA3857831 for ; Sun, 23 Oct 2022 16:08:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AB6BA3857831 Received: by smtp.gentoo.org (Postfix, from userid 559) id 553ED34106B; Sun, 23 Oct 2022 16:08:02 +0000 (UTC) Date: Sun, 23 Oct 2022 20:38:36 +0545 To: Tsukasa OI Subject: Re: [PATCH 20/40] sim/m32r: Prepare required functions Message-ID: Mail-Followup-To: Tsukasa OI , Andrew Burgess , Nick Clifton , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9FG0WwdhG0H/DxHz" Content-Disposition: inline In-Reply-To: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: Nick Clifton , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" --9FG0WwdhG0H/DxHz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20 Oct 2022 09:32, Tsukasa OI wrote: > This commit includes necessary header files and creates duplicated > declarations from other header files. >=20 > Duplicated declarations are necessary on M32R because, despite that some > m32rbf functions are used by m32rx and m32r2, we cannot include two or mo= re > CPU header files: "cpu.h", "cpux.h" and "cpu2.h". move/duplicate prototypes in a common header (e.g. m32r-sim.h) that both pl= aces will include, never put them into a C file itself. as written, there is no protection keeping the prototypes in sync. -mike --9FG0WwdhG0H/DxHz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmNVVXAACgkQQWM7n+g3 9YF0fxAAz5nxlQ2sTa1ZPEx2hzyIpIC/TiGNlLXWks047bLKClu+WtQaEclclFQL BPba519MxelSF74eNyq5zZeFuBOiGLvDv+wwHsoFmFxjwdLf6tXtWELQHmVdK0qH 1+jJrDRnUlaN6A5Qz1k3QX5PRnDV2DntgZ9M7IOlq1N+kxerpU/b06g0neHY1VTO o5/ueofcGb7SsT4suX1rhoA4kHZX3Q4ASVO0XcbZM4tcXdzNRyIWnih2WiWUo6Gp fy6u8yBpzhmYCaGw6ZD8RbHiWDJnxLYUKos0cVIwsJIIxnlVTcX0O0I090GOJN5U PMoDleiDz80Q5jN9r4w15ZW0FsyBSaaImcNaoIOBhUXRoVlr6R7iyOmMTaDaURq+ GyEHwYBM/zaN2arx/VwgLlS6ansJn7y2n6POboabynCwchNJkU2kdsxLXVhUX2M/ XiFVq1BxKosGiyYMdpUMa/h68ayi8r0mtCm2DOvAUnC4RQbzGM8r3QKgswsHVQV5 hXkt5IfFr4yCkPuDJs7gSVY85qxoOyuKd5wrqEW/ylaW+d8lbz6jTh5027NbpapL IAjlQG57WLPy6/2gwfu00MJQOrKoH1KEYjgSxKmrOUC4OT+0hGKfUwGIF4B34Yne W3/xZ6bOp78plt2fyZebBujMmRi4qb8MIenen+TYK5BD2jBUwY8= =tEro -----END PGP SIGNATURE----- --9FG0WwdhG0H/DxHz--