binutils-gdb/sim/m32r
Mike Frysinger e8f20a28b1 sim: split program path out of argv vector
We use the program argv to both find the program to run (argv[0]) and
to hold the arguments to the program.  Most of the time this is fine,
but if we want to let programs specify argv[0] independently (which is
possible in standard *NIX programs), this double duty doesn't work.

So let's split the path to the program to run out into a separate
field by itself.  This simplifies the various sim_open funcs too.

By itself, this code is more of a logical cleanup than something that
is super useful.  But it will open up customization of argv[0] in a
follow up commit.  Split the changes to make it easier to review.
2021-11-15 02:53:29 -05:00
..
arch.c sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
arch.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
cpu.c sim: cgen: delete unused record_trace_results functions 2021-06-28 11:25:21 -04:00
cpu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpu2.c sim: cgen: delete unused record_trace_results functions 2021-06-28 11:25:21 -04:00
cpu2.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpuall.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpux.c sim: cgen: delete unused record_trace_results functions 2021-06-28 11:25:21 -04:00
cpux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode2.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decodex.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decodex.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dv-m32r_cache.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-m32r_cache.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dv-m32r_uart.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-m32r_uart.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
local.mk sim: hoist cgen mloop rules up to common builds 2021-11-02 22:59:07 -04:00
m32r-sim.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m32r.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m32r2.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m32rx.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
Makefile.in sim: hoist cgen mloop rules up to common builds 2021-11-02 22:59:07 -04:00
mloop.in Add missing stdlib.h includes to sim 2021-05-04 13:19:33 -06:00
mloop2.in Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mloopx.in Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
model.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
model2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
modelx.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
README
sem-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sem.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sem2-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
semx-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-if.c sim: split program path out of argv vector 2021-11-15 02:53:29 -05:00
sim-main.h sim: m32r: unify ELF & Linux traps logic 2021-07-01 20:46:11 -04:00
syscall.h sim: m32r: namespace Linux syscall table 2021-07-01 20:36:42 -04:00
traps.c sim: drop unused targ-vals.h includes 2021-10-31 04:53:22 -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).