[PATCH] Improve printf DFP support
Daniel Jacobowitz
drow@false.org
Wed Jan 9 12:52:00 GMT 2008
On Tue, Jan 08, 2008 at 10:03:44PM -0200, Luis Machado wrote:
> 2008-08-01 Luis Machado <luisgpm@br.ibm.com>
>
> * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
> seen_double_big_d, treat the new H, D, and DD modifiers as length
> modifiers.
> * doc/gdb.texinfo (Output): Update documentation on using printf with DFP
> types.
> * testsuite/gdb.base/printcmds.exp (test_printf_with_dfp): Update
> printf calls with required float modifiers.
OK. Remember that doc/ and testsuite/ entries go into their own
changelogs. Also, please be careful with spaces versus tabs. I see a
lot of strange indentation in this patch.
> + /* Check for a Decimal128. */
> + if (*f == 'D')
> + {
Here, for instance.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list