summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-21 21:04:18 -0500
committerMike Frysinger <vapier@gentoo.org>2016-08-13 13:47:27 -0700
commit6b97945424f3714d2f9f6866079fd2bc658f4285 (patch)
tree263d299626a2a6521391ce5f5e0a5da56378c5d1 /sim
parent474a2d9f5f8a080e30812525729c3a8b7baa61d6 (diff)
downloadbinutils-gdb-6b97945424f3714d2f9f6866079fd2bc658f4285.tar.gz
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')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/cgen-defs.h8
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)