I'm using GDB 5.3 for mipsel cross-compiled on an x86 box running RedHat
7.3. When I try to use the backtrace capability from GDB most of the
time I do not get a full stack context - I usually just get the function
I'm in at the time. I'm using GCC 3.2 to compile the kernel,
cross-compiled the same way. I've tried making sure the
omit-frame-pointer option and the "no instruction schedule" options are
on for when we do source level debugging with no joy.
Does backtrace work for GCC and GDB cross compiled for mipsel? If so,
can someone briefly outline the "known good" configuration (GCC/GDB
versions, + relevant configuration options)?
TIA