This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH/committed] sim: cgen: drop unused argv/envp definitions
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Date: Sat, 13 Aug 2016 13:48:03 -0700
- Subject: [PATCH/committed] sim: cgen: drop unused argv/envp definitions
- Authentication-results: sourceware.org; auth=none
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 0483f8a73d4c..868553b0f1b0 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 c42db9b46935..c90fe3cbdb00 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.9.0