From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26324 invoked from network); 18 Aug 1999 21:50:45 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Aug 1999 21:50:45 -0000 Received: from web1005.mail.yahoo.com (web1005.mail.yahoo.com [128.11.23.95]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id RAA08867 for ; Wed, 18 Aug 1999 17:50:45 -0400 Message-ID: <19990818215044.10522.rocketmail@web1005.mail.yahoo.com> Received: from [38.30.238.98] by web1005.mail.yahoo.com; Wed, 18 Aug 1999 14:50:44 PDT Date: Wed, 18 Aug 1999 14:50:44 -0700 (PDT) From: Jano Lukac Subject: Re: Unaligned traps et al To: axp-list@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, The programming stuff is way beyond me, so please don't berate for my ignorance. --- Sean Hunter wrote: > 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 ;) Good day, Jano _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com