| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH, RFC] MIPS: Implement the getcontext API |
| From: | Daniel Jacobowitz <dan@debian.org> |
| Date: | Thu, 2 Apr 2009 16:06:56 -0400 |
| Cc: | David Daney <ddaney@caviumnetworks.com>, Brian Foster <brian.foster@innova-card.com>, "Maciej W. Rozycki" <macro@codesourcery.com>, linux-mips@linux-mips.org, libc-ports@sourceware.org, "Maciej W. Rozycki" <macro@linux-mips.org> |
| In-reply-to: | <20090402132936.GB15021@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk> <49AD6139.60209@caviumnetworks.com> <200903040919.29294.brian.foster@innova-card.com> <20090304121732.GA28381@caradoc.them.org> <49AEAE1D.5030205@caviumnetworks.com> <20090402132936.GB15021@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.17 (2008-05-11) |
On Thu, Apr 02, 2009 at 03:29:36PM +0200, Ralf Baechle wrote: > To maintaine compatibility with old debuggers and possibly other software > that knows about the stackframe layout I wrote the signal code to only > use the larger alignment of the stackframe if a particular processor > requires it. > > However one possible improvment would be to change the way a struct sigframe > or rt_sigframe is allocated on the stack such that not the beginning of > the structure is aligned but the rs_code field is kept aligned. Would > such a change cause problems for gdb? If you don't change the internal layout of the structure, I don't think GDB will even notice - it does not know about the more-aligned variant. -- Daniel Jacobowitz CodeSourcery |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] tx4939ide: remove wmb(), Bartlomiej Zolnierkiewicz |
|---|---|
| Next by Date: | HIGHMEM and 2.6.28, Jon Fraser |
| Previous by Thread: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, Ralf Baechle |
| Next by Thread: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |