This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Make thread-db.o ignore -Werror
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc:
- Date: Sun, 8 Dec 2002 16:07:11 -0500
- Subject: Re: [PATCH] Make thread-db.o ignore -Werror
- References: <15857.14282.120924.948786@localhost.redhat.com>
Elena Zannoni writes:
>
> 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
>
>
Committed.
> 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) \