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
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.