binutils-gdb/sim
Alan Modra e7ad52cde6 sim --enable-cgen-maint
I had reason yesterday to want to regenerate configury files which I
do with --enable-maintainer-mode, and added --enable-cgen-maint
accidentally.  The first problem I hit is that sim looks for cgen in a
different directory by default than opcodes, and I had my source
layout set up for opcodes rather than sim.  Fix that by making both
use ../cgen first, then ../../cgen relative to sim/ and opcodes/.  The
next problem was that various sim local.mk files expected generated
sources in the build dir rather than the source dir.  Fix that by
adding $(srcdir) to paths.  Finally, the generated iq2000 files had a
compile error, fixed by the cpu/iq2000.cpu patch.

cpu/
	* iq2000.cpu (syscall): Add pc arg.
opcodes/
	* configure.ac (cgendir): Default to ../../cgen, but use ../cgen
	if found there.
	* configure: Regenerate.
sim/m4/
	* sim_ac_option_cgen_maint.m4 (cgendir): Look in ../cgen too.
sim/
	* cris/local.mk: Add $(srcdir) to paths for regenerated source.
	* frv/local.mk: Likewise.
	* iq2000/local.mk: Likewise.
	* lm32/local.mk: Likewise.
	* m32r/local.mk: Likewise.
	* or1k/local.mk: Likewise.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2023-08-19 12:41:32 +09:30
..
aarch64 sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
arm sim: formally assume unistd.h always exists (via gnulib) 2023-01-16 04:35:48 -05:00
avr sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
bfin Rename bfd_bread and bfd_bwrite 2023-08-09 08:48:09 +09:30
bpf bpf: fix neg and neg32 BPF instructions in simulator 2023-07-26 11:44:20 +02:00
common sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
cr16 sim: formally assume unistd.h always exists (via gnulib) 2023-01-16 04:35:48 -05:00
cris sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
d10v sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
erc32 sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
example-synacor sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
frv sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
ft32 sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
h8300 sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
igen sim: igen: simplify build logic a little 2023-01-15 02:07:43 -05:00
iq2000 sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
lm32 sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
m4 sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
m32c sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
m32r sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
m68hc11 sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
mcore sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
microblaze sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
mips sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
mn10300 sim: mn10300: minimize mn10300-sim.h include in sim-main.h 2023-01-19 01:05:00 +01:00
moxie sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
msp430 sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
or1k sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
ppc sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
pru sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
riscv sim: modules.c: fix generation after recent refactors 2023-01-15 20:55:48 -05:00
rl78 Rename bfd_bread and bfd_bwrite 2023-08-09 08:48:09 +09:30
rx Rename bfd_bread and bfd_bwrite 2023-08-09 08:48:09 +09:30
sh sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
testsuite sim prune_warnings 2023-08-19 12:41:32 +09:30
v850 sim: v850: reduce extra header inclusion to igen files 2023-01-18 19:13:04 -05:00
.gitignore sim: drop unused gentmap & nltvals.def logic 2021-11-28 13:24:00 -05:00
aclocal.m4 sim: smp: make option available again 2022-12-25 02:13:30 -05:00
arch-subdir.mk.in sim: build: drop support for creating libsim.a in subdirs 2023-01-10 01:15:26 -05:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
config.h.in sim: build: stop probing system extensions (ourselves) 2023-01-16 04:22:10 -05:00
configure sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
configure.ac sim: igen: simplify build logic a little 2023-01-15 02:07:43 -05:00
COPYING sim: clarify license text via COPYING file 2021-11-06 01:44:06 -04:00
gdbinit.in sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
MAINTAINERS sim: Update mailing list address 2022-09-01 10:15:09 -04:00
Makefile.am sim: igen: simplify build logic a little 2023-01-15 02:07:43 -05:00
Makefile.in sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
README-HACKING sim: build: delete Make-common.in logic 2023-01-13 17:34:53 -05:00