[patch 0/2] Complete expression support for Decimal Floating Point

Thiago Jung Bauermann
2007-12-20T05:55:41Z

:ADDPATCH language-feature:

Hi,

These patches are intended to wrap-up decimal floating support in
expressions.

I am now working on teaching GDB how to call inferior functions with DFP
arguments and/or return value on Linux/ppc32 and Linux ppc64, which I
will submit shortly. After these patches and Luis' pending
(hint, hint! :-) ) patch "PPC - Printing Decimal 128 types out of
registers" are commited, I will submit a NEWS entry for the new decimal
floating point support in GDB.

With the already-incorporated DFP support plus the the patches mentioned
above, GDB is be able to:

- parse DFP constants;
- recognize DFP types from DWARF2 debuginfo;
- read and write to DFP variables;
- show DFP values with appropriate printf masks;
- use DFP values (constants and variables) in expressions;
- cast to/from DFP types;
- print 128-bit DFP values split in two FP registers (Power6 feature);
- call inferior functions with DFP arguments and/or return value.

I think that the above completes all needed DFP support in GDB.
If anything is missing, please point out and I can work on it.