From d4cd7e84e28243f2c8b340a3d8affed696482cef Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 4 Mar 2022 13:35:37 -0700 Subject: [PATCH] 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. --- 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. -- 2.30.2