From 6b97945424f3714d2f9f6866079fd2bc658f4285 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 21 Jan 2016 21:04:18 -0500 Subject: [PATCH] sim: cgen: drop unused argv/envp definitions The common argv/envp are used now by all ports, so drop this old cgen fragment. --- sim/common/ChangeLog | 5 +++++ 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 + + * cgen-defs.h (struct cgen_state): Delete argv and envp. + (STATE_ARGV, STATE_ENVP): Delete. + 2016-02-04 Nick Clifton * 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) -- 2.30.2