summaryrefslogtreecommitdiff
path: root/gdb/target-float.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-float.h')
-rw-r--r--gdb/target-float.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/target-float.h b/gdb/target-float.h
index 43709f776a6..317e98e3322 100644
--- a/gdb/target-float.h
+++ b/gdb/target-float.h
@@ -25,4 +25,11 @@ extern bool target_float_is_valid (const gdb_byte *addr,
extern bool target_float_is_zero (const gdb_byte *addr,
const struct type *type);
+extern std::string target_float_to_string (const gdb_byte *addr,
+ const struct type *type,
+ const char *format = nullptr);
+extern bool target_float_from_string (gdb_byte *addr,
+ const struct type *type,
+ const std::string &string);
+
#endif