From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,503358cd24d0fd9a X-Google-Attributes: gidfee84,public From: jkb@mrc-lmb.cam.ac.uk (James Bonfield) Subject: Re: decladebug / gdb trap on: Unaligned access errors?? Date: 1996/06/27 Message-ID: <4qtveq$5sv@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 162363613 references: <4qtopf$k8t@nntp.atlanta.com> organization: MRC Laboratory of Molecular Biology, Cambridge UK newsgroups: comp.unix.osf.osf1 In article <4qtopf$k8t@nntp.atlanta.com> curts@compgen.com (Curt Smith) writes: >Hi, > >Anyone offer advice on how to easily zoom in on what line of source is >causing the Unaligned access processor traps? Try looking at "uac" (unaligned access control). Something like "uac p sigbus" will force the OS to generate SIGBUS signals whenever an unaligned access occurs. Both debuggers should then be able to trap it. See the uac manual page for more information. James -- James Bonfield (jkb@mrc-lmb.cam.ac.uk) Tel: 01223 402499 Fax: 01223 412282 Medical Research Council - Laboratory of Molecular Biology, Hills Road, Cambridge, CB2 2QH, England. Also see Staden Package WWW site at http://www.mrc-lmb.cam.ac.uk/pubseq/