projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
[binutils-gdb.git]
/
gdb
/
c-valprint.c
diff --git
a/gdb/c-valprint.c
b/gdb/c-valprint.c
index cd4c85a5fb3587864bea4af9c7ef498f11eadd83..ddcec6e378025f4cadf5b12ea117a82209856996 100644
(file)
--- a/
gdb/c-valprint.c
+++ b/
gdb/c-valprint.c
@@
-474,6
+474,13
@@
c_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
}
break;
}
break;
+ case TYPE_CODE_DECFLOAT:
+ if (format)
+ print_scalar_formatted (valaddr + embedded_offset, type, format, 0, stream);
+ else
+ print_decimal_floating (valaddr + embedded_offset, type, stream);
+ break;
+
case TYPE_CODE_VOID:
fprintf_filtered (stream, "void");
break;
case TYPE_CODE_VOID:
fprintf_filtered (stream, "void");
break;