From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54151 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PokZh-000189-Gy for qemu-devel@nongnu.org; Sun, 13 Feb 2011 17:37:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PokZg-0004TN-9o for qemu-devel@nongnu.org; Sun, 13 Feb 2011 17:37:49 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:50212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PokZf-0004RK-KA for qemu-devel@nongnu.org; Sun, 13 Feb 2011 17:37:48 -0500 From: Laurent Vivier Date: Sun, 13 Feb 2011 23:37:33 +0100 Message-Id: <1297636655-8709-1-git-send-email-laurent@vivier.eu> Subject: [Qemu-devel] [PATCH 0/2][v4] correct core dump format List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio Cc: Blue Swirl , qemu-devel@nongnu.org This is the v4 of my patch correcting the core dump format. (3 versions for patch 2, 3 versions for patch 1 starting at version 2 of patch 2...) v4 adds some long alignments for 64bit targets, renames target_long_long to target_llong, and so on... v3 introduces a new parameter of the target: the datatype alignment size. Targets like i386, mips or ppc align (short, int, long, long long) on (2, 4, 4, 8), target like x86_64 aligns on (2, 4, 8, 8) but arm aligns on (2, 4, 4, 4) and m68k (680x0) on (2, 2, 2, 2). And this knowledge is needed to correctly generate a core dump. For other targets, please update the patch with your favorite one. V2 introduces target_elf_prstatus alignment (to manage arm and m68k) v1 corrects core dump for m68k [PATCH 1/2][v3] linux-user: Define target alignment size [PATCH 2/2][v3] linux-user: correct core dump format