From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25751 invoked by alias); 26 Apr 2002 21:14:27 -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 25717 invoked from network); 26 Apr 2002 21:14:25 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 26 Apr 2002 21:14:25 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA13296; Fri, 26 Apr 2002 14:14:20 -0700 (PDT) Message-ID: <3CC9C050.50DA5C49@redhat.com> Date: Fri, 26 Apr 2002 14:14:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Elena Zannoni CC: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [PATCH] Makefile.in: no ,-Werror for thread-db.c References: <15561.47290.123521.894587@localhost.redhat.com> <3CC9BE54.4050801@cygnus.com> <15561.49101.776302.278639@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01092.txt.bz2 Elena Zannoni wrote: > > Andrew Cagney writes: > > > 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. :-) > > > > Which host? It builds on RH 7.2 cleanly. Does the platform have broken > > headers? > > > > Andrew > > ppc G4 with yellowdog linux. > It could be a platform problem, yes. Hmmmm... check your system headers, see how "fpregset" is defined.