From 088d891f588eb06a92f4fccf6a76e9b6ef2014c2 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 1 Mar 2001 18:19:28 +0000 Subject: * 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)''. --- gdb/Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gdb/Makefile.in') 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) -- cgit v1.1