From: "Sean Hunter" <sean@uncarved.co.uk>
To: axp-list@redhat.com
Subject: Re: Unaligned traps et al
Date: Wed, 18 Aug 1999 23:10:45 +0100 [thread overview]
Message-ID: <19990818231045.Z28508@henry.uncarved.co.uk> (raw)
In-Reply-To: <19990818215044.10522.rocketmail@web1005.mail.yahoo.com>; from Jano Lukac on Wed, Aug 18, 1999 at 02:50:44PM -0700
On Wed, Aug 18, 1999 at 02:50:44PM -0700, Jano Lukac wrote:
> Hi,
>
> The programming stuff is way beyond me, so please don't berate for my
> ignorance.
>
> --- Sean Hunter <sean@uncarved.co.uk> wrote:
> <snip>
> > For those who don't know, its possible (as Michal told me, and rth's
> > code snippet demonstrated) to exercise a small degree of control over
> > what the kernel does when an app encounters an unaligned access. In
> > particular, you can turn off the message, tell the kernel not to fix
> > the access (this sounds like a bad idea), or (more usefully) get the
> > kernel to send the app a SIGBUS, causing it to dump core. You can
> > then plug the coredump into your favourite debugger and fix the
> > access.
>
> So this means for the "regular" user (assuming an alpha linux system) that any
> time there was this unaligned trap, the program would core dump? Therefore a
> non-programmer-type person (like me) would be unable to continue using many
> programs intended for x86 which were compiled on his/her alpha because of this.
> That seems a little counter-productive to me, but might in fact spur some
> programmer-types to finally fix other programs ;)
>
The idea is that you would have your alpha working exactly as it now
does, whereas I (and others like me) would have a simple way to turn
on debugging which would allow us to fix a lot of nasty unaligned
traps that make your alpha slower than it should be.
We can then post patches, and when you upgrade your apps, the traps go
away, and your box speeds up. You don't have to suffer any breakage,
and get the benefit of our hard work, whereas we can do the debugging
we want, easier.
Sean
next prev parent reply other threads:[~1999-08-18 22:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-18 21:50 Unaligned traps et al Jano Lukac
1999-08-18 22:10 ` Sean Hunter [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-08-19 9:52 Christian Groessler
1999-08-19 10:12 ` Sean Hunter
1999-08-18 16:38 Paul Jakma
1999-08-18 13:47 Sean Hunter
1999-08-18 16:26 ` Dan Morrill
[not found] ` <199908181556.JAA28448@ellpspace.math.ualberta.ca>
1999-08-18 21:23 ` Sean Hunter
1999-08-18 23:11 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox