This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix build on sparc
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 26 Nov 2011 21:47:46 +0100
- Subject: Re: [PATCH] Fix build on sparc
- References: <20111126.143855.1966723588620210024.davem@davemloft.net>
On Sat, 26 Nov 2011 20:38:55 +0100, David Miller wrote:
> sprintf_vma() expands to a printf format string appropriate for
> a bfd_vma type, so the only proper cast is to that exact type.
>
> This fixes the build for me on sparc-*-linux*.
It affects also i686-linux-gnu. It was discussed with a patch promise in:
Re: [PATCH v2] Tracing notes and metadata
http://sourceware.org/ml/gdb-patches/2011-11/msg00608.html
Jan