[PATCH] Fix gdb/coffread.c build on 32bit architectures

Tom Tromey tom@tromey.com
Mon Aug 28 14:08:20 GMT 2023


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Hi Mark.  Thanks for the patch.

Mark> +	error (_("COFF Error: string table offset (%" PRIxPTR ") outside string table (length %ld)"),

gdb doesn't use these PRI macros.  Instead you'd write something like:

    error ("...%s...", hex_string (value))

Tom


More information about the Gdb-patches mailing list