[Crash-utility] Re: backtrace - how do I get local and formal parametes - kernel is compiled -O0.

Dave Anderson anderson at redhat.com
Mon Mar 10 14:44:06 UTC 2008


Pete/Piet Delaney wrote:
> Got by 1st panic crash, crash seems to be working but
> I don't feel comfortable as with gdb. I can't see
> the parameters on the stack as variables as with
> kgdb nor can I see the local variables on the stack.
> Seems I should be able to get crash working with
> gdb so I can see the details that gdb can see.
> 
> I compiled the kernel -O0 and without the framepointer
> as it seem crash prefers (rather odd). But want to
> see the locals and formals on the stack and walk up and
> down the stack and have the context know to crash just
> as with gdb.
> 
> I'll re-read your crash paper.
> 
> Any suggestions?

Nope, other than using "bt -f" to dump each frame's data,
and figuring it out from there...

Dave




More information about the Crash-utility mailing list