Subject: Re: unaligned access: how to track ?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Simon Burge <simonb@netbsd.org>
List: port-alpha
Date: 06/07/2000 17:59:18
Manuel Bouyer wrote:

> Hi,
> I get unalligned access from rpc.statd:
> pid 146 (rpc.statd): unaligned access: va=0x120119feb pc=0x1200023a4 ra=0x1200021ec op=ldq

You're loading a quad word (instruction "ldq") from address 0x120119feb
which isn't 8-byte aligned. "nm -n" on your binary should show you where
roughly the pc (0x1200023a4) is.  Since the load address of an alpha
binary is just after 0x120000000, it's somewhere within the first 8k-ish
of code.  Does gdb on alpha work well enough to set break-points?

Sorry if this is a bit terse, but I've gotta run to catch a train.

Simon.