summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/erc32/ChangeLog5
-rw-r--r--sim/erc32/interf.c3
-rw-r--r--sim/ppc/ChangeLog4
-rw-r--r--sim/ppc/sim_calls.c1
4 files changed, 11 insertions, 2 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 5bf54d772d9..4c4386a649c 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-11 Andreas Schwab <schwab@suse.de>
+
+ * interf.c: Include "libiberty.h" instead of declaring buildargv
+ ourselves.
+
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 9d5947101a6..ec8ca22fe05 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -27,6 +27,7 @@
#include <time.h>
#include <sys/fcntl.h>
#include "sis.h"
+#include "libiberty.h"
#include "bfd.h"
#include <dis-asm.h>
#include "sim-config.h"
@@ -41,8 +42,6 @@ extern fprintf();
#define VAL(x) strtol(x,(char **)NULL,0)
-extern char **buildargv(char *input);
-
extern struct disassemble_info dinfo;
extern struct pstate sregs;
extern struct estate ebase;
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 066aa7568c9..b2d43c14a95 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-11 Andreas Schwab <schwab@suse.de>
+
+ * sim_calls.c: Include "libiberty.h".
+
2004-09-24 Ian Lance Taylor <ian@wasabisystems.com>
Committed by Andrew Cagney.
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c
index ae74593dd69..08feb39ab76 100644
--- a/sim/ppc/sim_calls.c
+++ b/sim/ppc/sim_calls.c
@@ -40,6 +40,7 @@
#endif
#endif
+#include "libiberty.h"
#include "bfd.h"
#include "gdb/callback.h"
#include "gdb/remote-sim.h"