aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-14 02:54:14 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-14 02:54:14 +0000
commitd25b15536cfa1c86bd3997df1d4f3a329b496ff7 (patch)
tree65ab58996df1058bc19c92a93b27725295f95d30 /sim
parent3416d2e74397b3170ffe6539afb8f471b7ab0453 (diff)
downloadgdb-d25b15536cfa1c86bd3997df1d4f3a329b496ff7.zip
gdb-d25b15536cfa1c86bd3997df1d4f3a329b496ff7.tar.gz
gdb-d25b15536cfa1c86bd3997df1d4f3a329b496ff7.tar.bz2
Index: common/ChangeLog
2002-11-13 Andrew Cagney <cagney@redhat.com> * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif. Index: d10v/ChangeLog 2002-11-13 Andrew Cagney <cagney@redhat.com> * simops.c: Include <string.h>.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/run.c2
-rw-r--r--sim/d10v/ChangeLog4
-rw-r--r--sim/d10v/simops.c3
4 files changed, 12 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ac0c4df..1e49576 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-13 Andrew Cagney <cagney@redhat.com>
+
+ * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
+
2002-11-06 Richard Sandiford <rsandifo@redhat.com>
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
diff --git a/sim/common/run.c b/sim/common/run.c
index d8c86cd..ca3194b 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -156,7 +156,7 @@ main (ac, av)
target. */
operating_p = 1;
break;
-#endif SIM_HAVE_ENVIRONMENT
+#endif
#ifdef SIM_HAVE_PROFILE
case 'p':
sim_set_profile (atoi (optarg));
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index 320eb98..9c42d35 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-13 Andrew Cagney <cagney@redhat.com>
+
+ * simops.c: Include <string.h>.
+
2002-06-17 Andrew Cagney <cagney@redhat.com>
* d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index 1c0ecfe..fbffa4d 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -7,6 +7,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#include "d10v_sim.h"
#include "simops.h"