From: Jeff D. <jd...@ad...> - 2006-04-10 17:23:02
|
On Thu, Apr 06, 2006 at 05:14:42PM +0200, Markus Sch?nhaber wrote: > How do I get a stack trace? Attach gdb to the first UML pid, put a breakpoint on panic, continue it, and when it hits the breakpoint, do 'bt' at gdb. If the breakpoint somehow doesn't get hit, then stick a while(1) ; in panic (kernel/panic.c, after the bust_spinlocks() call, rebuild it, and attach gdb to it as described above when it hangs after the panic message. Jeff |