Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!riley From: riley@batcomputer.tn.cornell.edu (Daniel S. Riley) Newsgroups: comp.sys.dec Subject: Re: Unaligned accesses on a DECstation 3100/Ultrix 4.0 Keywords: Disable the alignment fixer? Message-ID: <1990Nov28.221219.15331@batcomputer.tn.cornell.edu> Date: 28 Nov 90 22:12:19 GMT References: <11824@spool.cs.wisc.edu> <1990Nov28.140934.17734@decuac.dec.com> Organization: Cornell Theory Center Lines: 21 In article <1990Nov28.140934.17734@decuac.dec.com> mjr@hussar.dco.dec.com (Marcus J. Ranum) writes: >elliott@veronica.cs.wisc.edu (James Elliott) writes: > >>Now, my problem is that I want to get >rid< of these unaligned >>accesses, because I consider them bugs. > > Amen! The way I used to catch them (this is GROSS) was by doing >what amounted to a binary search with the debugger. I'd set breakpoints >and slowly home in on it until I isolated it. From a posting by Jeff Michaud (michaud@decwrl.dec.com) from a little over a year ago: Finding them is pretty easy. dbx the offending program, then dbx> 0xNNNNNN/10i will tell you the routine-name:linenumber of the offending source line. -Dan Riley (riley@theory.tn.cornell.edu, cornell!batcomputer!riley) -Wilson Lab, Cornell University