diff --git a/include/ChangeLog b/include/ChangeLog index 0a9e820829591dc73ae58f60839af530454d9ef4..2f29f64c14757555bce314bda87aea3f4111d22a 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-09-15 Daniel Jacobowitz <drow@mvista.com> + + * floatformat.h (floatformat_is_valid): Add prototype. + 2003-07-09 Bob Wilson <bob.wilson@acm.org> * xtensa-config.h: Undef all macros before defining them. diff --git a/include/floatformat.h b/include/floatformat.h index 53ead3eee61a8622d47f8a0469b3edd9cd2b4d62..feb3260117c495348b51817e4bc2f0837f36a060 100644 --- a/include/floatformat.h +++ b/include/floatformat.h @@ -1,5 +1,5 @@ /* IEEE floating point support declarations, for GDB, the GNU Debugger. - Copyright 1991, 1994, 1995, 1997, 2000 Free Software Foundation, Inc. + Copyright 1991, 1994, 1995, 1997, 2000, 2003 Free Software Foundation, Inc. This file is part of GDB. @@ -118,4 +118,9 @@ extern void floatformat_from_double PARAMS ((const struct floatformat *, double *, char *)); +/* Return non-zero iff the data at FROM is a valid number in format FMT. */ + +extern int +floatformat_is_valid PARAMS ((const struct floatformat *fmt, char *from)); + #endif /* defined (FLOATFORMAT_H) */