From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wYU9Gpt0xGM7whcAWB0awg (envelope-from ) for ; Sun, 15 Jan 2023 16:48:11 -0500 Received: by simark.ca (Postfix, from userid 112) id 5B37B1E128; Sun, 15 Jan 2023 16:48:11 -0500 (EST) 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=nUaPxCBE; 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=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.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 045E61E112 for ; Sun, 15 Jan 2023 16:48:11 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 67E353858D38 for ; Sun, 15 Jan 2023 21:48:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67E353858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673819287; bh=XBq0Yyg40vDK/yI7ZcviQXVdohc8B+UUNIYTO1QofAw=; h=Date:To:Cc:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=nUaPxCBECDSy4xJ7bgbp13zjwMa8ssfPqXPSLKe1DktVrM6eC9kGgH4GJhhTUxHZp AAjwf/vPDyxfAaXPXUG7YWhcVx9tMAbVR5jw7+WfM86MclqO80kj1ORG3Em1cwOMom dAgiu4JRF5uUybZg4famQ+5d2pfWKjk7I37+HEkI= Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 1BCA03858D32 for ; Sun, 15 Jan 2023 21:47:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BCA03858D32 Received: by smtp.gentoo.org (Postfix, from userid 559) id B211B340E71; Sun, 15 Jan 2023 21:47:45 +0000 (UTC) Date: Sun, 15 Jan 2023 16:47:44 -0500 To: Mark Wielaard Cc: gdb-patches@sourceware.org, Sam James Subject: Re: [PATCH] sim: mn10300: minimize mn10300-sim.h include in sim-main.h Message-ID: References: <20230115202009.149626-1-mark@klomp.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WHy72/Z+4+Y8f/Xo" Content-Disposition: inline In-Reply-To: <20230115202009.149626-1-mark@klomp.org> 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 Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" --WHy72/Z+4+Y8f/Xo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 15 Jan 2023 21:20, Mark Wielaard wrote: > --- a/sim/mn10300/sim-main.h > +++ b/sim/mn10300/sim-main.h > @@ -38,7 +38,14 @@ mn10300_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BY= TES), (ADDR), (TRANSFER), > #include "sim-fpu.h" > #include "sim-signal.h" > =20 > +/* These datastructures and defines are only used by the igen generated > + support.c, semantics.c, idecode.c and engine.c files. */ > +#if defined(SUPPORT_C) \ > + || defined(SEMANTICS_C) \ > + || defined(IDECODE_C) \ > + || defined(ENGINE_C) > #include "mn10300-sim.h" > +#endif a nifty hack. can you move the sim-fpu.h & sim-signal.h inside this block ? -mike --WHy72/Z+4+Y8f/Xo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmPEdIAACgkQQWM7n+g3 9YEL4Q/+IJjtFBWgiW88zbyZpQ4/0v9eQviJh/lks74KANwvKoiFO0G5/uREW9Cb mxzUZ+7haYZ0pWx967no2t+5f64hP0bOpTxDDRXdNcm9VUlEVv9DXVQ2L+5HrvOj fbNbYpMEeQTs30rkU/QkTD3hPPcR+5zsvtqIWw8nyxMcc4XHsx/ucgE0venr5Mq7 FG8SFoNoq4Wn22n1whA8zIdsE8MlVmbnr426m5ZBURNtpu7MH9JZs9OPFFzNHshq obIbAFVUUuvFBb0Ow924XTiAK3Qr4OEPz83HyUJ+tGFKXM23JOMvH/rc74ZED0S/ 5vsXqwcphtNZ/0Wvxhfx/0VQi+Hb1Q72QM2TtgJNwMQVaUblQA84yaPxgLsfU5tm VtRfIlrkzMRxVCpuyagzJxSokNRSWYgU2JY+JzBsjMJZPwJ4KYklLx14LgvI4qmT 41ZB7AP8pLlSfKPucLqDnnLjMdv9biZxA6PRA7F3bzTiLRgSXAWeC1EnoH7E402w EIGFNT9WbG1tfLo8jQP10SAK+Z2W5ByNmkpglUI1AFTxZ6681hnfioMqn44vIhSf /UINOb6nx7JuNG/j2oC8OZegXiHr6DoysesYGv4cahk2Y2wLfU2vVtt5vh8tUz6R k+OSett9fqmW3tnt8vioiHZK9nkQ25xY77Y90lEjI24FzAfEtDU= =PaFg -----END PGP SIGNATURE----- --WHy72/Z+4+Y8f/Xo--