aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2008-01-16 16:16:44 +0000
committerMark Kettenis <kettenis@gnu.org>2008-01-16 16:16:44 +0000
commitba759613c3627dc399eae13a23a65dbc4adf3778 (patch)
tree51662a0e62079a363c09d5e20eb7bc720f9937cd /gdb/value.c
parent7ecb65322d700054f2ef34d1443aa59b9bb81928 (diff)
downloadgdb-ba759613c3627dc399eae13a23a65dbc4adf3778.zip
gdb-ba759613c3627dc399eae13a23a65dbc4adf3778.tar.gz
gdb-ba759613c3627dc399eae13a23a65dbc4adf3778.tar.bz2
* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
* value.c: All callers changed.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 5fc1276..1a5f984 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -1131,7 +1131,7 @@ unpack_long (struct type *type, const gdb_byte *valaddr)
case TYPE_CODE_DECFLOAT:
/* libdecnumber has a function to convert from decimal to integer, but
it doesn't work when the decimal number has a fractional part. */
- return decimal_to_double (valaddr, len);
+ return decimal_to_doublest (valaddr, len);
case TYPE_CODE_PTR:
case TYPE_CODE_REF:
@@ -1191,7 +1191,7 @@ unpack_double (struct type *type, const gdb_byte *valaddr, int *invp)
return extract_typed_floating (valaddr, type);
}
else if (code == TYPE_CODE_DECFLOAT)
- return decimal_to_double (valaddr, len);
+ return decimal_to_doublest (valaddr, len);
else if (nosign)
{
/* Unsigned -- be sure we compensate for signed LONGEST. */