aboutsummaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r--gdb/findvar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index df8475f..3ff8ecc 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -328,6 +328,10 @@ extract_floating (addr, len)
else
floatformat_to_doublest (TARGET_LONG_DOUBLE_FORMAT, addr, &dretval);
}
+#ifdef TARGET_EXTRACT_FLOATING
+ else if (TARGET_EXTRACT_FLOATING (addr, len, &dretval))
+ return dretval;
+#endif
else
{
error ("Can't deal with a floating point number of %d bytes.", len);
@@ -371,6 +375,10 @@ store_floating (addr, len, val)
else
floatformat_from_doublest (TARGET_LONG_DOUBLE_FORMAT, &val, addr);
}
+#ifdef TARGET_STORE_FLOATING
+ else if (TARGET_STORE_FLOATING (addr, len, val))
+ return;
+#endif
else
{
error ("Can't deal with a floating point number of %d bytes.", len);