aboutsummaryrefslogtreecommitdiff
path: root/sim/arm
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-02-19 03:46:01 -0500
committerMike Frysinger <vapier@gentoo.org>2015-03-14 07:02:58 -0400
commit465fb143c87076b6416a8d0d5dd79bb016060fe3 (patch)
treed630acdd9e0001b0e6e988d34b72c827c26cc28e /sim/arm
parentb9005ba76ee501a809f2657b04bb2f2590829fa3 (diff)
downloadgdb-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/arm')
-rw-r--r--sim/arm/ChangeLog6
-rw-r--r--sim/arm/Makefile.in6
2 files changed, 11 insertions, 1 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 40d461c..bd4ddf2 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,5 +1,11 @@
2015-03-14 Mike Frysinger <vapier@gentoo.org>
+ * Makefile.in (SIM_EXTRA_CFLAGS): Add
+ -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 unistd.h.
* aclocal.m4, configure: Regenerate.
diff --git a/sim/arm/Makefile.in b/sim/arm/Makefile.in
index e211496..80271c0 100644
--- a/sim/arm/Makefile.in
+++ b/sim/arm/Makefile.in
@@ -17,10 +17,14 @@
## COMMON_PRE_CONFIG_FRAG
-SIM_EXTRA_CFLAGS = -DMODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES
+SIM_EXTRA_CFLAGS = -DMODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES \
+ -DSIM_USE_DEPRECATED_RUN_FRONTEND
COPRO=@COPRO@
+# Use the deprecated run frontend until we migrate to nrun.o
+SIM_RUN_OBJS = run.o
+
SIM_OBJS = armemu26.o armemu32.o arminit.o armos.o armsupp.o \
armvirt.o bag.o thumbemu.o wrapper.o sim-load.o $(COPRO)