Ada's formats
Andrew Cagney
cagney@gnu.org
Thu Jul 8 22:25:00 GMT 2004
Joel, Paul, I'm looking at this:
#if 0
{"8#%lo#", "8#", "o", "#"}, /* Octal format info */
{"%ld", "", "d", ""}, /* Decimal format info */
{"16#%lx#", "16#", "x", "#"}, /* Hex format info */
#else
/* Copied from c-lang.c. */
{"0%lo", "0", "o", ""}, /* Octal format info */
{"%ld", "", "d", ""}, /* Decimal format info */
{"0x%lx", "0x", "x", ""}, /* Hex format info */
#endif
Would replacing the printf formats with ada specific functions similar
to paddr, paddr_nz et.al. or even a single function with multiple
parameters solve this problem?
Andrew
More information about the Gdb
mailing list