This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Makefile.in: no ,-Werror for thread-db.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 26 Apr 2002 17:12:41 -0400
- Subject: Re: [PATCH] Makefile.in: no ,-Werror for thread-db.c
- References: <15561.47290.123521.894587@localhost.redhat.com>
On Fri, Apr 26, 2002 at 04:29:46PM -0400, Elena Zannoni wrote:
>
> 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. :-)
This implies that your platform (PowerPC you said?) has a broken
prfpregset_t in the presence of AltiVec. We should both get glibc
fixed and/or autoconf away the problem...
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer