From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,eeb805df6374b43e,start X-Google-Attributes: gid111c93,public From: paul@wau.mis.ah.nl (Paul Slootman) Subject: How to trace where "unaligned access" is happening? Date: 1998/11/05 Message-ID: <71s5ah$ema$1@pcpaul.wau.mis.ah.nl>#1/1 X-Deja-AN: 408645454 X-Nntp-Posting-Host: p1imwe29.wau.mis.ah.nl Sender: news@ahisinfr.xs4all.nl (news at janux) Organization: Albert Heijn Winkelautomatisering Newsgroups: comp.os.linux.alpha I have a couple of programs which repeatably generate "unaligned access traps" in the kernel. I know what type of thing causes this, so I'd like to track down where it happens to be able to fix it. I once saw a message somewhere about using gdb on a program compiled with -g and the address the kernel reports to find the source location where the trap is caused; however, I can't find that message anywhere (I was sure I had saved it :-( ). The gdb docs are a pain; I couldn't find it there. Can someone please enlighten me? Thanks in advance. Paul Slootman -- home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands