aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-04-15 16:03:15 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2021-04-15 16:06:10 -0700
commit599a6ff01e1f5eecf9748aee482e1e2adb68e539 (patch)
tree77967e04ea587c20680a6db2480306bff9b21230 /sim
parentf00b50d057298ac581cb222c0ab4b5e21d134464 (diff)
downloadgdb-599a6ff01e1f5eecf9748aee482e1e2adb68e539.zip
gdb-599a6ff01e1f5eecf9748aee482e1e2adb68e539.tar.gz
gdb-599a6ff01e1f5eecf9748aee482e1e2adb68e539.tar.bz2
sim lm32: Use a known-good shell with genmloop.sh.
Explicitly use a known-good shell found by autoconf for executing additional scripts in genmloop.sh rather than the building user's shell. sim/lm32/ChangeLog: * Makefile.in: Pass -shell to genmloop.sh.
Diffstat (limited to 'sim')
-rw-r--r--sim/lm32/ChangeLog4
-rw-r--r--sim/lm32/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 32766f0..31500e5 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-15 John Baldwin <jhb@FreeBSD.org>
+
+ * Makefile.in: Pass -shell to genmloop.sh.
+
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
diff --git a/sim/lm32/Makefile.in b/sim/lm32/Makefile.in
index 6a71ace..633ffec 100644
--- a/sim/lm32/Makefile.in
+++ b/sim/lm32/Makefile.in
@@ -43,7 +43,7 @@ lm32.o: lm32.c $(LM32BF_INCLUDE_DEPS)
# FIXME: Use of `mono' is wip.
mloop.c eng.h: stamp-mloop
stamp-mloop: $(srcdir)/../common/genmloop.sh mloop.in Makefile
- $(SHELL) $(srccom)/genmloop.sh \
+ $(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
-mono -fast -pbb -switch sem-switch.c \
-cpu lm32bf -infile $(srcdir)/mloop.in
$(SHELL) $(srcroot)/move-if-change eng.hin eng.h