aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
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/d10v
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/d10v')
-rw-r--r--sim/d10v/ChangeLog4
-rw-r--r--sim/d10v/simops.c3
2 files changed, 7 insertions, 0 deletions
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"