binutils-gdb/sim/m32r
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
..
arch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
arch.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
ChangeLog-2021
cpu2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpu2.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpu.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpu.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpuall.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpux.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpux.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode2.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decodex.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decodex.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_cache.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_cache.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_uart.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_uart.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
local.mk sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
m32r2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
m32r-sim.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
m32r.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
m32rx.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mloop2.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mloop.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mloopx.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
model2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
model.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
modelx.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
README
sem2-switch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sem-switch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sem.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
semx-switch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim-if.c sim: info: convert verbose field to a bool 2023-01-18 20:47:55 -05:00
sim-main.h sim: replace -I$srcroot/opcodes include with -I$srcroot 2023-01-01 23:14:19 -05:00
syscall.h
traps.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00

This is the m32r simulator directory.

It is still work-in-progress.  The current sources are reasonably
well tested and lots of features are in.  However, there's lots
more yet to come.

There are lots of machine generated files in the source directory!
They are only generated if you configure with --enable-cgen-maint,
similar in behaviour to Makefile.in, configure under automake/autoconf.

For details on the generator, see ../../cgen.

devo/cgen isn't part of the comp-tools module yet.
You'll need to check it out manually (also akin to automake/autoconf).