Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Unaligned accesses on a DECstation 3100/Ultrix 4.0
@ 1990-11-28  1:06 James Elliott
  1990-11-28 14:09 ` Marcus J. Ranum
  1990-11-28 14:41 ` John T Kohl
  0 siblings, 2 replies; 5+ messages in thread
From: James Elliott @ 1990-11-28  1:06 UTC (permalink / raw)



Ultrix 4.0 on a DECstation seems to have a nice feature of fixing up
unaligned accesses in executing programs. Rather than sending a
SIGBUS, it prints 

Fixed up unaligned data access for pid 5285 (adacs) at pc 0x41bc0c

on stderr (I'd guess), and continues execution.

Now, my problem is that I want to get >rid< of these unaligned
accesses, because I consider them bugs. So, I'd prefer to get the
signal, so I can trap into the debugger (and get lost trying to figure
out the code that Twig generated for me, but that's a different
problem). How can I do this? I tried providing a different handler for
SIGBUS, but it didn't get called; apparently the signal never gets
delivered even to that level?

Anyone have any ideas?
--
Jim Elliott		      "Like a bridge he'll come between us, not a wall"
elliott@veronica.cs.wisc.edu


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1990-11-29 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1990-11-28  1:06 Unaligned accesses on a DECstation 3100/Ultrix 4.0 James Elliott
1990-11-28 14:09 ` Marcus J. Ranum
1990-11-28 22:12   ` Daniel S. Riley
1990-11-29 22:22     ` Michael Meissner
1990-11-28 14:41 ` John T Kohl

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