This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Make thread-db.o ignore -Werror
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 6 Dec 2002 18:50:34 -0500
- Subject: [PATCH] Make thread-db.o ignore -Werror
I still cannot compile ppc-linux, and neither alpha-linux or ia64.
Same problems as those described in:
http://sources.redhat.com/ml/gdb/2001-11/msg00203.html
OK?
Elena
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (thread-db.o): Add explicit rule to ignore the use of
-Werror on this file.
Index: Makefile.in
===================================================================
RCS file: /cvs/uberbaum/gdb/Makefile.in,v
retrieving revision 1.292
diff -u -p -r1.292 Makefile.in
--- Makefile.in 6 Dec 2002 18:38:44 -0000 1.292
+++ Makefile.in 6 Dec 2002 23:51:32 -0000
@@ -1440,6 +1440,12 @@ hpux-thread.o: $(srcdir)/hpux-thread.c
procfs.o: $(srcdir)/procfs.c
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c
+# FIXME: Thread-db.o gets warnings because the definitions of the register
+# sets are different from kernel to kernel.
+thread-db.o: $(srcdir)/thread-db.c
+ $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
+ $(srcdir)/thread-db.c
+
v850ice.o: $(srcdir)/v850ice.c
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \