qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Riku Voipio <riku.voipio@iki.fi>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/2][v4]  correct core dump format
Date: Sun, 13 Feb 2011 23:37:33 +0100	[thread overview]
Message-ID: <1297636655-8709-1-git-send-email-laurent@vivier.eu> (raw)

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

             reply	other threads:[~2011-02-13 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 22:37 Laurent Vivier [this message]
2011-02-13 22:37 ` [Qemu-devel] [PATCH 1/2][v3] linux-user: Define target alignment size Laurent Vivier
2011-02-13 22:37 ` [Qemu-devel] [PATCH 2/2][v3] linux-user: correct core dump format Laurent Vivier
2011-02-16 10:27 ` [Qemu-devel] Re: [PATCH 0/2][v4] " Riku Voipio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1297636655-8709-1-git-send-email-laurent@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).