how to tell when have unaligned exception?

Richard Coleman richardcoleman at mindspring.com
Fri Mar 5 16:45:25 PST 2004


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 at mindspring.com



More information about the freebsd-sparc64 mailing list