From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwKcW-0000Dy-SX for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:27:32 -0400 Received: from [140.186.70.92] (port=38950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwKcU-0000Cs-Om for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:27:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwKcT-0000Pm-6B for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:27:30 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:58705) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwKcS-0000PW-RV for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:27:29 -0400 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.71) (envelope-from ) id 1NwKcP-0003bh-6k for qemu-devel@nongnu.org; Mon, 29 Mar 2010 21:27:25 +0200 Message-ID: <4BB0FF1C.5040604@mail.berlios.de> Date: Mon, 29 Mar 2010 21:27:24 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Check format specifiers for fprintf like function pointers References: <1269890225-13639-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <1269890225-13639-1-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Stefan Weil schrieb: > fprintf like function pointers are used for log output, especially > for cpu / fpu register dumps. > > When I examined wrong values for an x86_64 target on a i386 host, > I noticed that it was caused by wrong format specifiers and that > there are more errors of this kind. > > I could fix some (see list below), but for target-mips some errors > remain to be fixed. > > Regards, > Stefan Weil > > > The list of patches was missing. Here it is: [PATCH 01/14] Add new data type for fprintf like function pointers [PATCH 02/14] Use fprint_function and fix wrong format specifiers [PATCH 03/14] target-alpha: Use fprintf_function [PATCH 04/14] target-arm: Use fprintf_function [PATCH 05/14] target-cris: Use fprintf_function [PATCH 06/14] target-i386: Use fprintf_function and fix dump of DR registers [PATCH 07/14] target-m68k: Use fprintf_function [PATCH 08/14] target-microblaze: Use fprintf_function [PATCH 09/14] target-mips: Use fprintf_function and fix wrong format specifiers [PATCH 10/14] target-ppc: Use fprintf_function and fix wrong format specifiers [PATCH 11/14] target-sh4: Use fprintf_function [PATCH 12/14] target-sparc: Use fprintf_function [PATCH 13/14] target-s390: Use fprintf_function [PATCH 14/14] tcg: Use fprintf_function