mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-02 14:53:46 +08:00
e8f20a28b1
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. |
||
---|---|---|
.. | ||
acinclude.m4 | ||
arch.c | ||
arch.h | ||
cache.c | ||
cache.h | ||
ChangeLog-2021 | ||
cpu.c | ||
cpu.h | ||
cpuall.h | ||
decode.c | ||
decode.h | ||
frv-sim.h | ||
frv.c | ||
interrupts.c | ||
local.mk | ||
Makefile.in | ||
memory.c | ||
mloop.in | ||
model.c | ||
options.c | ||
pipeline.c | ||
profile-fr400.c | ||
profile-fr400.h | ||
profile-fr450.c | ||
profile-fr500.c | ||
profile-fr500.h | ||
profile-fr550.c | ||
profile-fr550.h | ||
profile.c | ||
profile.h | ||
README | ||
registers.c | ||
registers.h | ||
reset.c | ||
sem.c | ||
sim-if.c | ||
sim-main.h | ||
traps.c |
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.