[ CC'ed to axp-list because of general interest. ] On Mon, Apr 06, 1998 at 11:15:14PM -0400, Gene McCulley wrote: > I am currently porting a large (1.6 million lines of code) application > to the Alpha. It has worked previously with the -taso stuff, but now > I am making it 64-bit clean and eliminating all of the sizeof(void *) > assumptions. I am working under Digital Unix, but this step was > necessary so that we can move to Linux/Alpha. > > I am getting the unaligned access messages: > Unaligned access pid=5293 va=0x1420f365c pc=0x1207ac030 ra=0x1207abff4 inst=0xb54c0000 > > Is there a way to trap these in the debugger or some other way to > facilitate finding these? The following will tell both Digital Unix and Linux (post 2.1.20 or so) to deliver a SIGBUS rather than fix up the access. This makes the problem significantly easier to debug. r~