On Tue, 1 Aug 2006 21:38:18 +0200, "Franck Bui-Huu" <vagabon.xyz@xxxxxxxxx> wrote: > Considering (wrongly) a nested function as a leaf one is not a big > issue. "ra" reg should _always_ store a valid address (nested or not). > The only (small) impact would be to skip an entry when showing the > backtrace. The unwind_stack() uses regs->regs[31] for a leaf, and regs->regs[31] always holds RA value of _top_ of the stack, not at that level. --- Atsushi Nemoto