From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13561 invoked from network); 4 Dec 1998 21:23:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Dec 1998 21:23:04 -0000 Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA25819 for ; Fri, 4 Dec 1998 16:18:58 -0500 Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id XAA31960; Fri, 4 Dec 1998 23:18:37 +0200 To: axp-list@redhat.com Subject: Re: How do I find/fix unaligned accesses? References: CC: hjstein@bfr.co.il From: hjstein@bfr.co.il (Harvey J. Stein) Date: 04 Dec 1998 23:18:37 +0200 In-Reply-To: Eric Ding's message of "04 Dec 1998 13:25:15 -0500" Message-ID: X-Mailer: Gnus v5.6.4/Emacs 19.34 Eric Ding writes: > Hi all, > > I've read the FAQ about unaligned accesses on Alpha Linux. My question is, > now that I've got a whole log full of errors about unaligned accesses, how > do I go about tracking down the actual place in the code that's causing the > problem? > > I see, for example, > > axmain(521): unaligned trap at 0000000120472178: 000000011ffff2f4 2d 2 > > in /var/log/messages. Now what? Help me get Applixware for Linux/Alpha > out the door! :) Run it in gdb & put a breakpoint at the above: b 0x120472178 If you compiled with debugging it will show you the name of the file & the line number immediately. -- Harvey J. Stein BFM Financial Research hjstein@bfr.co.il