Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2004 19:45:25 -0500
From:      Richard Coleman <richardcoleman@mindspring.com>
To:        freebsd-sparc64@freebsd.org
Subject:   how to tell when have unaligned exception?
Message-ID:  <40491F25.20601@mindspring.com>

next in thread | raw e-mail | index | archive | help
I'm testing some code of mine on FreeBSD-current/sparc64.  Is there any 
way for me to tell when code of mine hits an unaligned access?  Is there 
a way to have gdb break on such a trap when running as root?

I'm sorry if this is elementary.  Coming from the Intel world, I never 
had to think about this until now.

Richard Coleman
richardcoleman@mindspring.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40491F25.20601>