[commit] fix gdbserver build failure on amd64-linux

Stan Shebs stanshebs@earthlink.net
Mon Jul 2 17:57:00 GMT 2012


On 7/2/12 10:41 AM, Tom Tromey wrote:
> Doug> -    fprintf (stderr, "at 0x%s, bp command_list is 0x%x\n",
> Doug> -	     paddress (where), (int) bp->command_list);
> Doug> +    fprintf (stderr, "at 0x%s, bp command_list is 0x%lx\n",
> Doug> +	     paddress (where), (long) (uintptr_t) bp->command_list);
>
> I think it is more normal to use host_address_to_string here.
>
Or maybe dump the debug print altogether - I'm looking at it and 
wondering why I ever thought this one was going to be useful. :-)

Stan



More information about the Gdb-patches mailing list