binutils-gdb/sim/mips
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
..
aclocal.m4 sim: unify reserved instruction bits settings 2021-07-01 20:53:00 -04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
configure sim: unify reserved instruction bits settings 2021-07-01 20:53:00 -04:00
configure.ac sim: unify reserved instruction bits settings 2021-07-01 20:53:00 -04:00
cp1.c sim: mips: use sim_fpu_to{32,64}u to fix build warnings 2021-11-06 12:19:58 -04:00
cp1.h
dsp2.igen
dsp.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dsp.igen
dv-tx3904cpu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-tx3904irc.c sim: mips: fix uninitialized register use 2021-06-16 01:51:32 -04:00
dv-tx3904sio.c sim: mips: tweak buffer sign 2021-06-16 01:53:09 -04:00
dv-tx3904tmr.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
interp.c sim: split program path out of argv vector 2021-11-15 02:53:29 -05:00
m16.dc
m16.igen
m16e.igen
m16run.c sim: mips: fix missing prototype in multi-run generation 2021-11-03 23:53:10 -04:00
Makefile.in sim: mips: use sim_fpu_to{32,64}u to fix build warnings 2021-11-06 12:19:58 -04:00
mdmx.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
mdmx.igen
micromips16.dc
micromips.dc
micromips.igen sim: mips: invert sim_state storage 2021-05-17 01:00:08 -04:00
micromipsdsp.igen
micromipsrun.c sim: mips: invert sim_state storage 2021-05-17 01:00:08 -04:00
mips3d.igen
mips3264r2.igen
mips.dc
mips.igen
sb1.igen
sim-main.c sim: mips: reduce -Wno-error scope 2021-11-01 00:55:27 -04:00
sim-main.h sim: mips: delete unused PSIZE define 2021-09-09 00:34:21 -04:00
smartmips.igen
tx.igen
vr.igen