[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 0/2][v4] correct core dump format
From: |
Riku Voipio |
Subject: |
[Qemu-devel] Re: [PATCH 0/2][v4] correct core dump format |
Date: |
Wed, 16 Feb 2011 12:27:53 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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