summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-09-15 20:13:45 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-09-15 20:13:45 +0000
commit98ff53b891a8efffd2e50c43daa5204d674e853f (patch)
treee76e06604b3a448933c68185c89f201e1a0ac013
parent80a268f8411f1a9b2b0d1ae70e7fdb8153f7c83e (diff)
downloadgdb-98ff53b891a8efffd2e50c43daa5204d674e853f.tar.gz
* floatformat.h (floatformat_is_valid): Add prototype.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/floatformat.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 3852e7d7ba7..b23b527b59a 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-08-27 Andrew Cagney <cagney@redhat.com>
* dis-asm.h (init_disassemble_info): Declare.
diff --git a/include/floatformat.h b/include/floatformat.h
index 53ead3eee61..feb3260117c 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) */