aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-01 18:19:28 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-01 18:19:28 +0000
commit088d891f588eb06a92f4fccf6a76e9b6ef2014c2 (patch)
treee6b371de6b9ec0eb6871f703ff17842e2f55dbeb /gdb/Makefile.in
parent3826677692e9e12fb42bc5cded26960d2137faec (diff)
downloadfsf-binutils-gdb-088d891f588eb06a92f4fccf6a76e9b6ef2014c2.zip
fsf-binutils-gdb-088d891f588eb06a92f4fccf6a76e9b6ef2014c2.tar.gz
fsf-binutils-gdb-088d891f588eb06a92f4fccf6a76e9b6ef2014c2.tar.bz2
* Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
* os9kread.c (os9k_process_one_symbol): Add assert to detect ``loses if sizeof (char *) > sizeof (int)''.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 01165a0..c619fc5 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1635,10 +1635,13 @@ mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h) $(regcache_h)
+# os9kread assumes that sizeof(char*) <= sizeof(int). This looses on
+# 64 bit targets where often, sizeof(int)=4 but sizeof(char*)=9.
os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
- $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
- objfiles.h stabsread.h symfile.h $(symtab_h) \
- target.h gdb_string.h
+ $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) \
+ language.h objfiles.h stabsread.h symfile.h $(symtab_h) \
+ target.h gdb_string.h
+ $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $<
mem-break.o: mem-break.c $(defs_h)