[PATCH] Makefile.in: no ,-Werror for thread-db.c

Daniel Jacobowitz drow@mvista.com
Fri Apr 26 14:12:00 GMT 2002


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



More information about the Gdb-patches mailing list