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.
This commit is contained in:
Tom Tromey 2022-03-04 13:35:37 -07:00
parent 552a161c8d
commit d4cd7e84e2
3 changed files with 0 additions and 7 deletions

View File

@ -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

3
gdb/configure vendored
View File

@ -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

View File

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