public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] Remove WITH_SIM define
Date: Fri, 15 Apr 2022 15:34:48 +0000 (GMT)	[thread overview]
Message-ID: <20220415153448.88BD73857C4E@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d4cd7e84e28243f2c8b340a3d8affed696482cef

commit d4cd7e84e28243f2c8b340a3d8affed696482cef
Author: Tom Tromey <tom@tromey.com>
Date:   Fri Mar 4 13:35:37 2022 -0700

    Remove WITH_SIM define
    
    Since score-tdep.c was removed, the WITH_SIM define is not used in
    gdb.  This patch removes it.
    
    Note that re-running autoheader shows a separate change that was
    missed.  I've kept it in this patch to avoid extra work.

Diff:
---
 gdb/config.in    | 3 ---
 gdb/configure    | 3 ---
 gdb/configure.ac | 1 -
 3 files changed, 7 deletions(-)

diff --git a/gdb/config.in b/gdb/config.in
index 0146bc38cff..a4975c68aad 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -775,9 +775,6 @@
    python-config.py --exec-prefix. */
 #undef WITH_PYTHON_PATH
 
-/* Define if the simulator is being linked in. */
-#undef WITH_SIM
-
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */
 #if defined AC_APPLE_UNIVERSAL_BUILD
diff --git a/gdb/configure b/gdb/configure
index 7225c7fc60d..1008cbef28b 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -18673,9 +18673,6 @@ if test "${ignore_sim}" = "false"; then
     SIM="${gdb_sim}"
     SIM_OBS="remote-sim.o"
 
-$as_echo "#define WITH_SIM 1" >>confdefs.h
-
-
     # Some tdep code should only be compiled in when the ppc sim is
     # built.  PR sim/13418.
     case $target in
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 310c76557ae..e3c19bc8859 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -2044,7 +2044,6 @@ if test "${ignore_sim}" = "false"; then
   if test x"${gdb_sim}" != x ; then
     SIM="${gdb_sim}"
     SIM_OBS="remote-sim.o"
-    AC_DEFINE(WITH_SIM, 1, [Define if the simulator is being linked in.])
 
     # Some tdep code should only be compiled in when the ppc sim is
     # built.  PR sim/13418.


                 reply	other threads:[~2022-04-15 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220415153448.88BD73857C4E@sourceware.org \
    --to=tromey@sourceware.org \
    --cc=gdb-cvs@sourceware.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).