]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/ft32/interp.c
sim: standardize sim_create_inferior handling of argv a bit more
authorMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2015 12:05:41 +0000 (07:05 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2015 12:19:07 +0000 (07:19 -0500)
commit0e9672991e9346d5c2cb9cd33e30fb3e573f88b8
treeb9a00b51355ac7ebed43ebf97f78b7a373b42936
parentf66affe97c40465e70249970b3339cc2f0a40e69
sim: standardize sim_create_inferior handling of argv a bit more

For targets that process argv in sim_create_inferior, improve the code:
- provide more details in the comment
- make the check for when to re-init more robust
- clean out legacy sim_copy_argv code

This will be cleaned up more in the future when we have a common inferior
creation function, but at least help new ports get it right until then.
18 files changed:
sim/aarch64/ChangeLog
sim/aarch64/interp.c
sim/bfin/ChangeLog
sim/bfin/interp.c
sim/cris/ChangeLog
sim/cris/sim-if.c
sim/frv/ChangeLog
sim/frv/sim-if.c
sim/ft32/ChangeLog
sim/ft32/interp.c
sim/iq2000/ChangeLog
sim/iq2000/sim-if.c
sim/lm32/ChangeLog
sim/lm32/sim-if.c
sim/m32r/ChangeLog
sim/m32r/sim-if.c
sim/sh64/ChangeLog
sim/sh64/sim-if.c