This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch]: Fix windows x64 build
2009/2/11 Pedro Alves <pedro@codesourcery.com>:
> On Wednesday 11 February 2009 14:21:40, Kai Tietz wrote:
>> Hello,
>>
>> I noticed that building of w64 was broken by a warning in gdbarch.c by
>> casting a pointer to long type.
>>
>> ChangeLog
>>
>> 2009-02-11 Kai Tietz <kai,tietz@onevision.com>
>>
>> * gdbarch.c (gdbarch_dump): Cast via size_t to long.
>>
>> Is this patch ok to apply?
>
> Nope, sorry, this is a generated file, see gdbarch.sh. We need to regenerate
> gdbarch.c and gdbarch.h whenever gdbarch.sh is changed, but looks like I forgot
> to regenerate it to pick up the changes that make this use
> host_address_to_string instead, since long is wrong for Win64.
>
> Sorry about that. It should be fixed now. gdbarch.h didn't change.
>
> --
> Pedro Alves
>
Patch works for me.
Thanks,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination