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
ChangeLog-2021
configure
configure.ac
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
dsp.igen
dv-tx3904cpu.c
dv-tx3904irc.c
dv-tx3904sio.c
dv-tx3904tmr.c
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
mdmx.igen
micromips16.dc
micromips.dc
micromips.igen
micromipsdsp.igen
micromipsrun.c
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
smartmips.igen
tx.igen
vr.igen