[Bug exp/16225] __int128_t types print strangely

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Jun 12 21:44:00 GMT 2017


--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:


commit 30a254669b16b86166fed1f9a4c4f9cc55a07fdc
Author: Tom Tromey <tom@tromey.com>
Date:   Mon May 22 03:55:58 2017 -0600

    Don't always zero pad in print_*_chars

    This changes print_octal_chars and print_decimal_chars to never zero
    pad, and changes print_binary_chars and print_hex_chars to only
    optionally zero-pad, based on a flag.

    2017-06-12  Tom Tromey  <tom@tromey.com>

        PR exp/16225:
        * valprint.h (print_binary_chars, print_hex_chars): Update.
        * valprint.c (val_print_type_code_int): Update.
        (print_binary_chars): Add "zero_pad" argument.
        (emit_octal_digit): New function.
        (print_octal_chars): Don't zero-pad.
        (print_decimal_chars): Likewise.
        (print_hex_chars): Add "zero_pad" argument.
        * sh64-tdep.c (sh64_do_fp_register): Update.
        * regcache.c (regcache::dump): Update.
        * printcmd.c (print_scalar_formatted): Update.
        * infcmd.c (default_print_one_register_info): Update.

    2017-06-12  Tom Tromey  <tom@tromey.com>

        PR exp/16225:
        * gdb.reverse/i386-sse-reverse.exp: Update tests.
        * gdb.arch/vsx-regs.exp: Update tests.
        * gdb.arch/s390-vregs.exp (hex128): New proc.
        Update test.
        * gdb.arch/altivec-regs.exp: Update tests.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Gdb-prs mailing list