From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3709 invoked by alias); 14 Sep 2008 03:47:59 -0000 Received: (qmail 3700 invoked by uid 22791); 14 Sep 2008 03:47:59 -0000 X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 14 Sep 2008 03:47:24 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id 83F464E6A; Sat, 13 Sep 2008 23:47:22 -0400 (EDT) Subject: Re: [PATCH] Fix hppa_linux_sigtramp_frame_unwind_cache To: randolph@tausq.org (Randolph Chung) Date: Sun, 14 Sep 2008 03:47:00 -0000 From: "John David Anglin" Cc: gdb-patches@sourceware.org In-Reply-To: <1e3eba760809131944t7ce2b87ai94af49ba8074b901@mail.gmail.com> from "Randolph Chung" at Sep 13, 2008 07:44:09 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20080914034722.83F464E6A@hiauly1.hia.nrc.ca> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00314.txt.bz2 > The sigcontext structure looks like this: > > struct sigcontext { > unsigned long sc_flags; > unsigned long sc_gr[32]; > unsigned long long sc_fr[32]; > unsigned long sc_iasq[2]; > unsigned long sc_iaoq[2]; > unsigned long sc_sar; > }; > > I am positive that when I wrote this the structure got padded between > sc_gr and sc_fr to keep the unsigned long long at a 8-byte boundary. No, you are correct. The long long field will be aligned at an 8-byte boundary. I will keep the pad. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)