public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove WITH_SIM define
@ 2022-04-15 15:34 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-04-15 15:34 UTC (permalink / raw)
  To: gdb-cvs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-15 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15 15:34 [binutils-gdb] Remove WITH_SIM define Tom Tromey

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).