aboutsummaryrefslogtreecommitdiff
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
commit09d969392e8f26b5d04bcc452c82a3cc4ae9fbad (patch)
treeb42e6b14e738295ea65f1202fef06fbd82efe737 /sim
parent7e12978101ece6f8cfd097bb2489d370459a1607 (diff)
downloadgdb-09d969392e8f26b5d04bcc452c82a3cc4ae9fbad.zip
gdb-09d969392e8f26b5d04bcc452c82a3cc4ae9fbad.tar.gz
gdb-09d969392e8f26b5d04bcc452c82a3cc4ae9fbad.tar.bz2
* 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 506029c..9d0b8d8 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 897a6f7..a4d3713 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;