Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: "H.J. Lu" <hjl.tools@gmail.com>,
	Binutils <binutils@sourceware.org>,
	GDB <gdb-patches@sourceware.org>
Subject: Re: Use elfcore_write_linux_prstatus in gdb
Date: Thu, 21 Jan 2016 14:44:00 -0000	[thread overview]
Message-ID: <20160121144405.GK17028@bubble.grove.modra.org> (raw)
In-Reply-To: <56A0EA83.3040403@redhat.com>

On Thu, Jan 21, 2016 at 02:26:11PM +0000, Pedro Alves wrote:
> As I said, "AFAICS, elf_prstatusx32 is exactly like elf_prstatus32,
> except it takes a 64-bit regset."  It's probably an issue
> of alignment/padding?

Yes, I guess that the presence of elf_gregset64_t for x32 changes the
alignment of the external struct, inserting 4 bytes of padding at the
end.

-- 
Alan Modra
Australia Development Lab, IBM


  parent reply	other threads:[~2016-01-21 14:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21  9:29 Alan Modra
2016-01-21 12:25 ` Pedro Alves
2016-01-21 13:11   ` Pedro Alves
2016-01-21 13:24     ` H.J. Lu
2016-01-21 14:05       ` Pedro Alves
2016-01-21 14:17         ` H.J. Lu
2016-01-21 14:26           ` Pedro Alves
2016-01-21 14:33             ` H.J. Lu
2016-01-21 14:44             ` Alan Modra [this message]
2016-01-21 15:59             ` H.J. Lu
2016-01-21 16:02               ` Pedro Alves

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=20160121144405.GK17028@bubble.grove.modra.org \
    --to=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=gdb-patches@sourceware.org \
    --cc=hjl.tools@gmail.com \
    --cc=palves@redhat.com \
    /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