]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target-float.h
Target FP: Add string routines to target-float.{c,h}
[thirdparty/binutils-gdb.git] / gdb / target-float.h
index 43709f776a620121be2bab4b2c4c5e7aede332de..317e98e33228654927778f2c0ee36b5cf1dd5ac2 100644 (file)
@@ -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