https://sourceware.org/bugzilla/show_bug.cgi?id=32507

--- Comment #7 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The gdb-16-branch branch has been updated by Eli Zaretskii
<e...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=97078538d6fe6269951dccd5c85f1b979bd356c3

commit 97078538d6fe6269951dccd5c85f1b979bd356c3
Author: Alan Modra <amo...@gmail.com>
Date:   Wed Jan 1 22:31:50 2025 +1030

    PR 32507, PRIx64 in error messages on 32-bit mingw

    People, including me, had forgotten that the bfd_error_handler just
    handled standard printf format strings, not MSC %I64 and suchlike.
    Using PRIx64 and similar in errors does not work if the host compiler
    headers define those formats as the Microsoft %I64 variety.  (We
    handled %ll OK, editing it to %I64 on such hosts.)

            PR 32507
            * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %I64 and %I32
            in input strings if the host defines PRId64 as "I64d".
            Edit %ll to %I64 on detecting PRId64 as "I64d" rather than on
            a preprocessor define.

    (cherry picked from commit b38cf91f230bc3892ab9c3deb4f1b6639c657c47)

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

Reply via email to