Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Anthony Berent <anthony.berent@reo.mts.dec.com>
Subject: Re: unaligned access
Date: 1996/11/21	[thread overview]
Message-ID: <329437E2.41C6@reo.mts.dec.com> (raw)
In-Reply-To: 01bbd33f$b2223fd0$63531dc7@gautam


gautam wrote:

> ...
> So basically how do we figure out where the unaligned accesses
> are occuring.
> ...
> 
> Gautam
One way to find unaligned accesses is to run the program under ladebug
(Digital's newer debugger). Compile the code with -g and then run it as
follows:

	$ ladebug foo
	(ladebug)catch unaligned
	(ladebug)run

When the program hits an unaligned access it will stop; and you can then
get a stack trace (assuming the stack isn't corrupt) using the "where"
command. You can then use dbx like commands to examine code etc.
-- 
- Anthony
(My views are my own; I do not speak for Digital and nothing I write
should be read as Digital's position)



  parent reply	other threads:[~1996-11-21  5:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-15  5:00 unaligned access gautam
1996-11-16  5:00 ` Dirk Grunwald
1996-11-20  5:00 ` Jeff Denham
1996-11-22  5:00   ` Curt Smith
1996-11-21  5:00 ` Anthony Berent [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-06  6:27 Unaligned access Emmanuel STAPF [ISE]
2000-03-31  5:00 Kraisit Vittinanon
2000-04-04  4:00 ` Oisin McGuinness
1998-03-31  5:00 Allen M. Cohen
1998-04-01  5:00 ` Joe Mario
1995-05-20  4:00 unaligned access Adrian Wenden
1995-05-22  4:00 ` Eric Osborne
1995-05-24  4:00 ` Vepa V Sirish
1995-05-25  4:00 ` John Wood
1994-02-05 21:21 Stefan Monnier
1994-02-06  9:39 ` Jarkko Hietaniemi
1993-11-30 22:25 Roland Schemers
1993-11-30 23:25 ` Matt Thomas
1993-12-01 12:06 ` Burkhard Neidecker-Lutz
1993-12-07  1:27 ` Jim Hurst
1993-02-23 15:55 Unaligned access Byron Jennings
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