public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: joel@rtems.org
Subject: [PATCH] sim: enable hardware support by default
Date: Sat, 24 Apr 2021 00:19:58 -0400	[thread overview]
Message-ID: <20210424041958.12761-1-vapier@gentoo.org> (raw)

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


             reply	other threads:[~2021-04-24  4:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  4:19 Mike Frysinger [this message]
2021-04-24 21:30 ` Tom Tromey
2021-04-24 22:34   ` Mike Frysinger
2021-04-26 13:24     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210424041958.12761-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    --cc=joel@rtems.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).