Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jhurst@renfield.mentorg.com (Jim Hurst)
Subject: Re: unaligned access...
Date: 7 Dec 1993 01:27:15 GMT	[thread overview]
Message-ID: <2e0m5j$ch6@hpcan240.mentorg.com> (raw)
In-Reply-To: 2dgh8k$1am@nntp2.Stanford.EDU

In article <2dgh8k$1am@nntp2.Stanford.EDU> schemers@leland.Stanford.EDU (Roland Schemers) writes:
>How do I track down an unligned accesses? I'm getting messages
>like:
>
>Unaligned access pid=1342 <tcl> va=14001651c pc=12001e420 ra=12001e3dc type=stq
>Unaligned access pid=1342 <tcl> va=140016514 pc=12001e3f0 ra=12001e3dc type=ldq
                                              ^^

It's interesting to note that the pc noted above (^^) stands for 
"program counter", ie, the address where the code is generating these
exceptions.  

This means you can set a breakpoint at that address in dbx, run the
code, type "where" when it stops, and find out the routine and line
number that generated the unaligned access.  Unless, of course, the 
executable has been stripped.  Hope this helps.

				-Jim


  parent reply	other threads:[~1993-12-07  1:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-11-30 22:25 unaligned access Roland Schemers
1993-11-30 23:25 ` Matt Thomas
1993-12-01 12:06 ` Burkhard Neidecker-Lutz
1993-12-07  1:27 ` Jim Hurst [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
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
1995-05-20  4:00 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-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