X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fdoublest.h;h=9522829bc3440c72ec0d8288be83d0245c556590;hb=f42bf748e417cf9120fc57d144b6eaaf3adda247;hp=fad77346a4ab710c2cbe0ecd05586ada518c0ac3;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/doublest.h b/gdb/doublest.h index fad77346a4..9522829bc3 100644 --- a/gdb/doublest.h +++ b/gdb/doublest.h @@ -1,6 +1,6 @@ /* Floating point definitions for GDB. - Copyright (C) 1986-2013 Free Software Foundation, Inc. + Copyright (C) 1986-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -89,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,