From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41576 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ppebz-0007zQ-QT for qemu-devel@nongnu.org; Wed, 16 Feb 2011 05:27:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ppeby-0007gZ-LC for qemu-devel@nongnu.org; Wed, 16 Feb 2011 05:27:55 -0500 Received: from afflict.kos.to ([92.243.29.197]:54650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ppeby-0007gV-F4 for qemu-devel@nongnu.org; Wed, 16 Feb 2011 05:27:54 -0500 Date: Wed, 16 Feb 2011 12:27:53 +0200 From: Riku Voipio Message-ID: <20110216102753.GA6438@afflict.kos.to> References: <1297636655-8709-1-git-send-email-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1297636655-8709-1-git-send-email-laurent@vivier.eu> Subject: [Qemu-devel] Re: [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: Laurent Vivier Cc: Blue Swirl , qemu-devel@nongnu.org On Sun, Feb 13, 2011 at 11:37:33PM +0100, Laurent Vivier wrote: > 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...) Thanks, tested to work and added to que. > 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