Hi Khalid, I use GDB for remote debugging (using a cross tool that runs
GDB). Right now I am trying to solve an "unaligned access" problem on
a sh4 processor. Unfortunately, in this case GDB is returning no callstack with
where/backtrace, making it difficult to pinpoint the faulty code. I did try the
suggestions spat out in
http://lists.debian.org/debian-ia64/2003/09/msg00020.html, but prctl is not
there in the Linux distribution I am using (Red Hat Linux 9.0, wonder whether
prctl comes bundled) and I was unable to download one. Is there any other way
to make GDB catch the SIGBUS signal, providing some meaningful callstack? Arindam |