From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 88BD73857C4E; Fri, 15 Apr 2022 15:34:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88BD73857C4E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove WITH_SIM define X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 552a161c8d9305aa1b6017de5bd5d9a4da55ea02 X-Git-Newrev: d4cd7e84e28243f2c8b340a3d8affed696482cef Message-Id: <20220415153448.88BD73857C4E@sourceware.org> Date: Fri, 15 Apr 2022 15:34:48 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2022 15:34:48 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd4cd7e84e282= 43f2c8b340a3d8affed696482cef commit d4cd7e84e28243f2c8b340a3d8affed696482cef Author: Tom Tromey Date: Fri Mar 4 13:35:37 2022 -0700 Remove WITH_SIM define =20 Since score-tdep.c was removed, the WITH_SIM define is not used in gdb. This patch removes it. =20 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 =20 -/* 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}" =3D "false"; then SIM=3D"${gdb_sim}" SIM_OBS=3D"remote-sim.o" =20 -$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}" =3D "false"; then if test x"${gdb_sim}" !=3D x ; then SIM=3D"${gdb_sim}" SIM_OBS=3D"remote-sim.o" - AC_DEFINE(WITH_SIM, 1, [Define if the simulator is being linked in.]) =20 # Some tdep code should only be compiled in when the ppc sim is # built. PR sim/13418.