Subject: Re: ARM ELF TODO list
To: David Laight <David.Laight@btinternet.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm
Date: 12/20/2001 13:49:30
On Thu, 20 Dec 2001, David Laight wrote:

> > > * Do we want the kernel to be verbose about the unaligned
> > >   load?
> >
> > I don't see why it should do any more than send a SIGBUS.  The core dump
> > will have all the necessary information in it, and we already have
> > kern.logsigexit for controlling whether SIGBUS gets logged.
> Agreed - does the core dump give you enough info?
> (ie is the reason for the trap detectable?)

Well, it'll say "you got a SIGBUS", and give you all the registers.  Given
the registers and the faulting instruction, it should be easy enough to
work out that it was an unaligned load.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>