Keith> Most architectures compile with -fomit-frame-pointer (except
Keith> for ARM where RMK does it differently). Neither gdb not
Keith> glibc can cope with kernel code built with
Keith> -fomit-frame-pointer. See the horrible heuristics kdb has to
Keith> apply to get any sort of backtrace on i386.
Keith knows this, but just to be clear: there is no problem unwinding
across functions compiled with -fomit-frame-pointer on ia64. (Other
platforms could do the same if they took advantage of DWARF2 unwind
info.)
--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/