summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-11-07 19:29:59 +0000
committerThiemo Seufer <ths@networkno.de>2006-11-07 19:29:59 +0000
commitdf743ebdf3d753613882c8b224594a4845a54c89 (patch)
tree98428315b652b9191cfbc09bfd2e352a57485863 /sim
parentc6d60bc9a4c8b742f1643289ebfc78fbf0e62faa (diff)
downloadgdb-df743ebdf3d753613882c8b224594a4845a54c89.tar.gz
* gentmap.c: Fix compile time warning.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/gentmap.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 506029cd118..9d0b8d8fee9 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2006-11-07 Thiemo Seufer <ths@mips.com>
+ * gentmap.c: Fix compile time warning.
+
+2006-11-07 Thiemo Seufer <ths@mips.com>
+
* sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
for bfd text addresses.
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c
index 897a6f70c77..a4d37134c98 100644
--- a/sim/common/gentmap.c
+++ b/sim/common/gentmap.c
@@ -1,6 +1,7 @@
/* Generate targ-vals.h and targ-map.c. */
#include <stdio.h>
+#include <stdlib.h>
struct tdefs {
char *symbol;