diff options
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h index cfc8cae..237d5db 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -608,6 +608,10 @@ extern int print_address_demangle (const struct value_print_options *, struct gdbarch *, CORE_ADDR, struct ui_file *, int); +/* Returns true if VAL is of floating-point type. In addition, + throws an error if the value is an invalid floating-point value. */ +extern bool is_floating_value (struct value *val); + extern LONGEST value_as_long (struct value *val); extern DOUBLEST value_as_double (struct value *val); extern CORE_ADDR value_as_address (struct value *val); |