From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id iJgINn2cg2CMDwAAWB0awg (envelope-from ) for ; Sat, 24 Apr 2021 00:20:13 -0400 Received: by simark.ca (Postfix, from userid 112) id DB1C41F104; Sat, 24 Apr 2021 00:20:13 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 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 610FF1E54D for ; Sat, 24 Apr 2021 00:20:07 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B2D13992406; Sat, 24 Apr 2021 04:20:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B2D13992406 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619238007; bh=mnRBVCar/00KsbZpx+Ek9SeLTSTxqPrpV2L5MT7Zfgs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=WhHOubdo9eBPoQxJ1OSEgcnDzH6zKGtuHKOmsOBKqmLjzc9pENI/MKj9sO+gKfPCI jCZPWxePPfoMT4I+EaUK1bh2IApeNVS77O6Gvkh/R9w09/VZ2JtrvuGKQyTxdgcWaM 4MUibDZ6oPlmAIGgAvPYlT3Hfu2Rez94PA3O9Z70= Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id ED37C386FC27 for ; Sat, 24 Apr 2021 04:20:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org ED37C386FC27 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EC2B133BF0F; Sat, 24 Apr 2021 04:20:00 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH] sim: enable hardware support by default Date: Sat, 24 Apr 2021 00:19:58 -0400 Message-Id: <20210424041958.12761-1-vapier@gentoo.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: joel@rtems.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Force this on for all ports. We have a few common models that can be used, so make them generally available. If the port doesn't use any hardware (the default), then behavior is unchanged. --- sim/aarch64/aclocal.m4 | 1 + sim/aarch64/config.in | 6 ++ sim/aarch64/configure | 114 ++++++++++++++++++++++++++++++-- sim/arm/aclocal.m4 | 1 + sim/arm/config.in | 6 ++ sim/arm/configure | 114 ++++++++++++++++++++++++++++++-- sim/avr/aclocal.m4 | 1 + sim/avr/config.in | 6 ++ sim/avr/configure | 114 ++++++++++++++++++++++++++++++-- sim/bpf/aclocal.m4 | 1 + sim/bpf/config.in | 6 ++ sim/bpf/configure | 114 ++++++++++++++++++++++++++++++-- sim/cr16/aclocal.m4 | 1 + sim/cr16/config.in | 6 ++ sim/cr16/configure | 114 ++++++++++++++++++++++++++++++-- sim/d10v/aclocal.m4 | 1 + sim/d10v/config.in | 6 ++ sim/d10v/configure | 114 ++++++++++++++++++++++++++++++-- sim/erc32/aclocal.m4 | 1 + sim/erc32/config.in | 6 ++ sim/erc32/configure | 116 +++++++++++++++++++++++++++++++-- sim/example-synacor/aclocal.m4 | 1 + sim/example-synacor/config.in | 6 ++ sim/example-synacor/configure | 114 ++++++++++++++++++++++++++++++-- sim/frv/configure | 1 - sim/frv/configure.ac | 2 - sim/ft32/aclocal.m4 | 1 + sim/ft32/config.in | 6 ++ sim/ft32/configure | 114 ++++++++++++++++++++++++++++++-- sim/h8300/aclocal.m4 | 1 + sim/h8300/config.in | 6 ++ sim/h8300/configure | 114 ++++++++++++++++++++++++++++++-- sim/iq2000/configure | 1 - sim/iq2000/configure.ac | 2 - sim/m32c/aclocal.m4 | 1 + sim/m32c/config.in | 6 ++ sim/m32c/configure | 116 +++++++++++++++++++++++++++++++-- sim/m4/sim_ac_output.m4 | 1 + sim/mcore/aclocal.m4 | 1 + sim/mcore/config.in | 6 ++ sim/mcore/configure | 114 ++++++++++++++++++++++++++++++-- sim/microblaze/aclocal.m4 | 1 + sim/microblaze/config.in | 6 ++ sim/microblaze/configure | 114 ++++++++++++++++++++++++++++++-- sim/moxie/aclocal.m4 | 1 + sim/moxie/config.in | 6 ++ sim/moxie/configure | 114 ++++++++++++++++++++++++++++++-- sim/msp430/aclocal.m4 | 1 + sim/msp430/config.in | 6 ++ sim/msp430/configure | 114 ++++++++++++++++++++++++++++++-- sim/or1k/aclocal.m4 | 1 + sim/or1k/config.in | 6 ++ sim/or1k/configure | 114 ++++++++++++++++++++++++++++++-- sim/pru/aclocal.m4 | 1 + sim/pru/config.in | 6 ++ sim/pru/configure | 114 ++++++++++++++++++++++++++++++-- sim/riscv/aclocal.m4 | 1 + sim/riscv/config.in | 6 ++ sim/riscv/configure | 114 ++++++++++++++++++++++++++++++-- sim/rl78/aclocal.m4 | 1 + sim/rl78/config.in | 6 ++ sim/rl78/configure | 116 +++++++++++++++++++++++++++++++-- sim/rx/aclocal.m4 | 1 + sim/rx/config.in | 6 ++ sim/rx/configure | 116 +++++++++++++++++++++++++++++++-- sim/sh/aclocal.m4 | 1 + sim/sh/config.in | 6 ++ sim/sh/configure | 114 ++++++++++++++++++++++++++++++-- sim/v850/aclocal.m4 | 1 + sim/v850/config.in | 6 ++ sim/v850/configure | 114 ++++++++++++++++++++++++++++++-- 71 files changed, 2557 insertions(+), 120 deletions(-) diff --git a/sim/frv/configure.ac b/sim/frv/configure.ac index 6588fe5e87e7..e5bbdbfba228 100644 --- a/sim/frv/configure.ac +++ b/sim/frv/configure.ac @@ -27,6 +27,4 @@ if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then fi],[sim_trapdump=""])dnl AC_SUBST(sim_trapdump) -SIM_AC_OPTION_HARDWARE - SIM_AC_OUTPUT diff --git a/sim/iq2000/configure.ac b/sim/iq2000/configure.ac index f21bc804bdd8..623fa192d74b 100644 --- a/sim/iq2000/configure.ac +++ b/sim/iq2000/configure.ac @@ -11,6 +11,4 @@ SIM_AC_OPTION_DEFAULT_MODEL(iq2000) SIM_AC_OPTION_WARNINGS(no) SIM_AC_OPTION_CGEN_MAINT -SIM_AC_OPTION_HARDWARE - SIM_AC_OUTPUT diff --git a/sim/m4/sim_ac_output.m4 b/sim/m4/sim_ac_output.m4 index 9ec566d8acd2..b18f2540f70b 100644 --- a/sim/m4/sim_ac_output.m4 +++ b/sim/m4/sim_ac_output.m4 @@ -22,6 +22,7 @@ dnl the target's fragment at the appropriate points. AC_DEFUN([SIM_AC_OUTPUT], [dnl AC_REQUIRE([SIM_AC_OPTION_WARNINGS])dnl +AC_REQUIRE([SIM_AC_OPTION_HARDWARE])dnl dnl Make @cgen_breaks@ non-null only if the sim uses CGEN. cgen_breaks="" -- 2.30.2