[commit] ia64-tdep.c: update an argument type in floatformat_valid()

Kevin Buettner kevinb@redhat.com
Wed Nov 9 06:29:00 GMT 2005


On Tue, 8 Nov 2005 08:16:19 +0100 (CET)
Mark Kettenis <mark.kettenis@xs4all.nl> wrote:

> > Date: Mon, 7 Nov 2005 18:46:10 -0700
> > From: Kevin Buettner <kevinb@redhat.com>
> > 
> > I've just committed the change below.  With this change in place, the
> > ia64-linux-gnu target builds using -Werror.
> > 
> > 	* ia64-tdep.c (floatformat_valid): Change type of `from' from
> > 	`const char *' to `const void *'.
> 
> Hmm, why doesn't ia64-tdep.c use one of the ia64-specific types from
> floatformat.[ch]?

GDB's ia64-tdep.c defines a floatformat type that is not yet in libiberty.
It probably ought to be moved over to libiberty...

Kevin



More information about the Gdb-patches mailing list