This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] fix gdbserver build failure on amd64-linux
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org, stan at codesourcery dot com
- Date: Mon, 02 Jul 2012 11:41:28 -0600
- Subject: Re: [commit] fix gdbserver build failure on amd64-linux
- References: <20120702171241.5E9E11E1392@ruffy2.mtv.corp.google.com>
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.
Tom