Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
Subject: Re: Unaligned accesses on a DECstation 3100/Ultrix 4.0
Date: 28 Nov 90 14:09:34 GMT	[thread overview]
Message-ID: <1990Nov28.140934.17734@decuac.dec.com> (raw)
In-Reply-To: 11824@spool.cs.wisc.edu

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.

	Once I made the mistake of setting a breakpoint:
stop when pc=0xblahblahblah
	and, of course, it sat and thought about it all night.

	There *HAS* to be a better way. Once I caught a similar bug by
porting it to a SPARCStation and running it under the debugger, since
the SS gives you an interrupt.

mjr.


  reply	other threads:[~1990-11-28 14:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-11-28  1:06 Unaligned accesses on a DECstation 3100/Ultrix 4.0 James Elliott
1990-11-28 14:09 ` Marcus J. Ranum [this message]
1990-11-28 22:12   ` Daniel S. Riley
1990-11-29 22:22     ` Michael Meissner
1990-11-28 14:41 ` John T Kohl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox