From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29711 invoked by alias); 26 Apr 2002 20:30:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29683 invoked from network); 26 Apr 2002 20:30:14 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 26 Apr 2002 20:30:14 -0000 Received: from localhost.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA09077 for ; Fri, 26 Apr 2002 13:30:13 -0700 (PDT) Received: by localhost.redhat.com (Postfix, from userid 469) id A218A10A8C; Fri, 26 Apr 2002 16:29:46 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15561.47290.123521.894587@localhost.redhat.com> Date: Fri, 26 Apr 2002 13:30:00 -0000 To: gdb-patches@sources.redhat.com Subject: [PATCH] Makefile.in: no ,-Werror for thread-db.c X-SW-Source: 2002-04/txt/msg01086.txt.bz2 I keep getting warnings for thread-db.c about mismatched types: /home/ezannoni/uberbaum/src/gdb/thread-db.c: In function `thread_db_fetch_registers': /home/ezannoni/uberbaum/src/gdb/thread-db.c:805: warning: passing arg 1 of `supply_fpregset' from incompatible pointer type /home/ezannoni/uberbaum/src/gdb/thread-db.c: In function `thread_db_store_registers': /home/ezannoni/uberbaum/src/gdb/thread-db.c:838: warning: passing arg 1 of `fill_fpregset' from incompatible pointer type /home/ezannoni/uberbaum/src/gdb/thread-db.c:844: warning: passing arg 2 of pointer to function from incompatible pointer type Is this OK? ...unless somebody more familiar than me with regsets wants to go and fix it. :-) Elena 2002-04-26 Elena Zannoni * Makefile.in (thread-db.o): This file cannot be built with ,-Werror enabled. Index: Makefile.in =================================================================== RCS file: /cvs/uberbaum/gdb/Makefile.in,v retrieving revision 1.179 diff -u -p -r1.179 Makefile.in --- Makefile.in 25 Apr 2002 20:34:54 -0000 1.179 +++ Makefile.in 26 Apr 2002 20:29:42 -0000 @@ -1896,6 +1896,8 @@ linux-proc.o: linux-proc.c $(defs_h) thread-db.o: thread-db.c $(defs_h) gdb_assert.h gdb_proc_service.h \ gdb_thread_db.h $(bfd_h) $(gdbthread_h) $(inferior_h) $(symfile_h) \ $(objfiles_h) $(target_h) $(regcache_h) + $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \ + $(srcdir)/thread-db.c lin-lwp.o: lin-lwp.c $(defs_h) gdb_assert.h gdb_wait.h $(gdbthread_h) \ $(inferior_h) $(target_h) $(gdbcmd_h) $(regcache_h)