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: curts@compgen.com (Curt Smith) Subject: Re: decladebug / gdb trap on: Unaligned access errors?? Date: 1996/07/05 Message-ID: <4riune$om5@nntp.atlanta.com>#1/1 X-Deja-AN: 163830113 references: <4qtopf$k8t@nntp.atlanta.com> <31D83192.500F@zko.dec.com> organization: Internet Atlanta newsgroups: comp.unix.osf.osf1 Tim Lucia (lucia@zko.dec.com) wrote: : An alternative to using the "catch unaligned" command is to note the PC at which : the fault occurs, and issue a "stopi at 0x12345678" command. Then, you can see : the routine and line number where the error occurs. >From a previous post, the following is what pleases us the most: uac p sigbus gdb program_exe - run - Gdb traps on SIGBUS - Poof; the src line number of the offending statment is displayed. QED, and thanks. Curt Smith curts@compgen.com