This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]