aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2004-11-11 21:58:57 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2004-11-11 21:58:57 +0000
commit2b3cc94f76d057b1004e8a22f034aed46cc72da6 (patch)
treeed96b503a656b435295331d3f2c848a6f0c298a0 /sim
parent19ad59e76a7ea4814e99fab8ca7712eff2c15dcd (diff)
downloadgdb-2b3cc94f76d057b1004e8a22f034aed46cc72da6.zip
gdb-2b3cc94f76d057b1004e8a22f034aed46cc72da6.tar.gz
gdb-2b3cc94f76d057b1004e8a22f034aed46cc72da6.tar.bz2
sim/erc32:
* interf.c: Include "libiberty.h" instead of declaring buildargv ourselves. sim/ppc: * sim_calls.c: Include "libiberty.h".
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 5bf54d7..4c4386a 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 9d59471..ec8ca22 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 066aa75..b2d43c1 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 ae74593..08feb39 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"