[PATCH] Fix build errors for armhf

Luis Machado luis.machado@linaro.org
Thu Jan 21 20:17:22 GMT 2021


On 1/21/21 4:15 PM, Luis Machado wrote:
> On 1/21/21 4:07 PM, Tom Tromey wrote:
>>>>>>> "Luis" == Luis Machado via Gdb-patches 
>>>>>>> <gdb-patches@sourceware.org> writes:
>>
>> Luis> -      complaint (_("Line number pointer %ld lower than start of 
>> line numbers"),
>> Luis> -         file_offset);
>> Luis> +      complaint (_("Line number pointer %s lower than start of 
>> line numbers"),
>> Luis> +         phex_nz (file_offset, sizeof (file_offset)));
>>
>> phex_nz doesn't print the leading "0x", so this output will be a bit
>> harder to understand.
>>
>> How about just using plongest instead?
> 
> That'd be fine by me.

Pushed with that fix. Thanks!


More information about the Gdb-patches mailing list