diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-21 21:04:18 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-08-13 13:47:27 -0700 |
commit | 6b97945424f3714d2f9f6866079fd2bc658f4285 (patch) | |
tree | 263d299626a2a6521391ce5f5e0a5da56378c5d1 /sim/common | |
parent | sim: bfin: split out common mach/model defines into arch.h [PR sim/20438] (diff) | |
download | binutils-gdb-6b97945424f3714d2f9f6866079fd2bc658f4285.tar.gz binutils-gdb-6b97945424f3714d2f9f6866079fd2bc658f4285.tar.bz2 binutils-gdb-6b97945424f3714d2f9f6866079fd2bc658f4285.zip |
sim: cgen: drop unused argv/envp definitions
The common argv/envp are used now by all ports, so drop this old
cgen fragment.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/cgen-defs.h | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 0483f8a73d4..868553b0f1b 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2016-08-13 Mike Frysinger <vapier@gentoo.org> + + * cgen-defs.h (struct cgen_state): Delete argv and envp. + (STATE_ARGV, STATE_ENVP): Delete. + 2016-02-04 Nick Clifton <nickc@redhat.com> * cgen-scache.c (scache_option_handler): Prevent possible diff --git a/sim/common/cgen-defs.h b/sim/common/cgen-defs.h index c42db9b4693..c90fe3cbdb0 100644 --- a/sim/common/cgen-defs.h +++ b/sim/common/cgen-defs.h @@ -144,14 +144,6 @@ typedef enum { sim_state_base. */ typedef struct cgen_state { - /* FIXME: Moved to sim_state_base. */ - /* argv, env */ - char **argv; -#define STATE_ARGV(s) ((s) -> cgen_state.argv) - /* FIXME: Move to sim_state_base. */ - char **envp; -#define STATE_ENVP(s) ((s) -> cgen_state.envp) - /* Non-zero if no tracing or profiling is selected. */ int run_fast_p; #define STATE_RUN_FAST_P(sd) ((sd) -> cgen_state.run_fast_p) |