X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fdoublest.h;h=23c6ee5e8be7f7e5c6f78c1ddd116fe1eed48993;hb=f65e204425b5b46a5927d9501c42f25d98a866ce;hp=0c17b5cb772ba3ca2aa597ee4f0e1501bb6374f2;hpb=4c38e0a4fcb69f8586d8db0b9cdb8dbab5980811;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/doublest.h b/gdb/doublest.h index 0c17b5cb77..23c6ee5e8b 100644 --- a/gdb/doublest.h +++ b/gdb/doublest.h @@ -1,8 +1,6 @@ /* Floating point definitions for GDB. - Copyright (C) 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2006, 2007, 2008, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -91,6 +89,10 @@ extern const char *floatformat_mantissa (const struct floatformat *, const struct floatformat *floatformat_from_type (const struct type *type); +/* Return the floatformat's total size in host bytes. */ + +extern size_t floatformat_totalsize_bytes (const struct floatformat *fmt); + extern DOUBLEST extract_typed_floating (const void *addr, const struct type *type); extern void store_typed_floating (void *addr, const struct type *type,