From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bb3af7a4d5ab3d40 X-Google-Attributes: gidfee84,public From: curts@compgen.com (Curt Smith) Subject: Re: unaligned access Date: 1996/11/22 Message-ID: <5744hc$992$1@metro.atlanta.com>#1/1 X-Deja-AN: 198074625 references: <01bbd33f$b2223fd0$63531dc7@gautam> <3293861D.391B@zk3.dec.com> organization: Internet Atlanta newsgroups: comp.unix.osf.osf1 Jeff Denham (denham@zk3.dec.com) wrote: : gautam wrote: : > : > So basically how do we figure out where the unaligned accesses : > are occuring. Lookup uac in the man pages. uac p sigbus Then run your program. It will core dump at the instruction doing the unaligned access. Use gdb or other to view the source. We usually go straight into gdb after enabling sigbus. Then gdb traps the signal and you're at the source line. Curt Smith curts@compgen.com