binutils-gdb/sim/frv
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
..
acinclude.m4 sim: frv: flip trapdump default back to off 2021-11-10 05:19:03 -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
cache.c sim: frv: fix compiler parentheses suggestions warnings 2021-05-29 13:07:34 -04:00
cache.h sim: frv: fix up a bunch of prototype warnings 2021-05-29 13:10:42 -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
cpuall.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
frv-sim.h sim: frv: fix up a bunch of prototype warnings 2021-05-29 13:10:42 -04:00
frv.c sim: frv: fix ambiguous else compiler warnings 2021-06-27 23:30:01 -04:00
interrupts.c sim: frv: fix up various missing prototype warnings 2021-06-27 23:35:46 -04:00
local.mk sim: hoist cgen mloop rules up to common builds 2021-11-02 22:59:07 -04:00
Makefile.in sim: hoist cgen mloop rules up to common builds 2021-11-02 22:59:07 -04:00
memory.c sim: frv: fix compiler parentheses suggestions warnings 2021-05-29 13:07:34 -04:00
mloop.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
options.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
pipeline.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
profile-fr400.c sim: frv: fix up various missing prototype warnings 2021-06-27 23:35:46 -04:00
profile-fr400.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
profile-fr450.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
profile-fr500.c sim: frv: fix ambiguous else compiler warnings 2021-06-27 23:30:01 -04:00
profile-fr500.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
profile-fr550.c sim: frv: fix ambiguous else compiler warnings 2021-06-27 23:30:01 -04:00
profile-fr550.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
profile.c sim: frv: fix some printf type mismatch warnings 2021-06-27 23:33:26 -04:00
profile.h sim: frv: fix return type for post_wait_for funcs 2021-06-27 23:30:01 -04:00
README
registers.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
registers.h sim: frv: fix up a bunch of prototype warnings 2021-05-29 13:10:42 -04:00
reset.c sim: frv: fix up various missing prototype warnings 2021-06-27 23:35:46 -04:00
sem.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: frv: fix engine hook 2021-06-27 23:36:28 -04:00
traps.c sim: frv: fix uninitialized variable warning 2021-06-27 23:31:28 -04:00

This is the frv simulator directory.

It is still work-in-progress.  The current sources are
well tested and lots of features are in.

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.