From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,efa01a8f73e07ebe X-Google-Attributes: gid111c93,public From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Subject: Re: unalinged traps Date: 1999/03/13 Message-ID: <7ce9le$9fb$1@news.tuwien.ac.at>#1/1 X-Deja-AN: 454600008 References: <36E97E4A.F2AC5F03@pop.pitt.edu> Organization: Institut fuer Computersprachen, Technische Universitaet Wien Newsgroups: comp.os.linux.alpha In article <36E97E4A.F2AC5F03@pop.pitt.edu>, Jacob C Gladish writes: > I've read in the FAQ that about the cause of unaligned trap, and it > mentions that you may want to take time to fix the ones that you find. > Well, i'd liek to fix the ones I find. Can anyone explain how you would > go about doing this.Specifically, how would I got about finding out > where this occured in what source file. You can find an example of how to turn on signals for alignment violations in http://www.complang.tuwien.ac.at/ublu/uac_sigbus.c. Once you get a signal, you can use an ordinary debugger for seeing where in the source it occured. - anton -- M. Anton Ertl Some things have to be seen to be believed anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen http://www.complang.tuwien.ac.at/anton/home.html