This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] fix gdbserver build failure on amd64-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]