Thursday, February 05, 2009

x86 32bit call backtrace

http://lxr.linux.no/linux+v2.6.27.2/arch/x86/kernel/traps_32.c#L309

329 printk("\n" KERN_EMERG "Stack: ");
330 show_stack_log_lvl(NULL, regs, &regs->sp, 0, KERN_EMERG);
331
332 printk(KERN_EMERG "Code: ");


330行是show call backtrace func的實作

No comments: