diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-02-19 03:46:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-14 07:02:58 -0400 |
commit | 465fb143c87076b6416a8d0d5dd79bb016060fe3 (patch) | |
tree | d630acdd9e0001b0e6e988d34b72c827c26cc28e /sim/moxie | |
parent | b9005ba76ee501a809f2657b04bb2f2590829fa3 (diff) | |
download | gdb-465fb143c87076b6416a8d0d5dd79bb016060fe3.zip gdb-465fb143c87076b6416a8d0d5dd79bb016060fe3.tar.gz gdb-465fb143c87076b6416a8d0d5dd79bb016060fe3.tar.bz2 |
sim: make nrun the default run program
We want people to stop using the run.c frontend, but it's hard to notice
when it's still set as the default. Lets flip things so nrun.c is the
default, and users of run.c will get an error by default. We turn that
error into a warning for existing sims so we don't break them -- this is
mostly meant for people starting new ports.
Diffstat (limited to 'sim/moxie')
-rw-r--r-- | sim/moxie/ChangeLog | 6 | ||||
-rw-r--r-- | sim/moxie/Makefile.in | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 1b0e892..8e2f5fb 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,5 +1,11 @@ 2015-03-14 Mike Frysinger <vapier@gentoo.org> + * Makefile.in (SIM_EXTRA_CFLAGS): Set to + -DSIM_USE_DEPRECATED_RUN_FRONTEND. + (SIM_RUN_OBJS): Set to run.o. + +2015-03-14 Mike Frysinger <vapier@gentoo.org> + * configure.ac (AC_CHECK_HEADERS): Delete. * aclocal.m4, configure: Regenerate. diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in index dafdf8c..1f7587c 100644 --- a/sim/moxie/Makefile.in +++ b/sim/moxie/Makefile.in @@ -19,6 +19,10 @@ dtbdir = @datadir@/gdb/dtb +# Use the deprecated run frontend until we migrate to nrun.o +SIM_RUN_OBJS = run.o +SIM_EXTRA_CFLAGS = -DSIM_USE_DEPRECATED_RUN_FRONTEND + SIM_OBJS = interp.o sim-load.o sim-io.o sim-config.o sim-utils.o \ sim-options.o sim-module.o sim-core.o sim-endian.o sim-trace.o \ sim-engine.o sim-fpu.o sim-bits.o sim-profile.o sim-events.o \ |