RE: [RFC] Enhanced show_stack output to add backing store regs

From: Chen, Kenneth W <>
Date: 2005-03-12 06:12:12
Bob Montgomery wrote on Friday, March 11, 2005 10:40 AM
> I have a patch for arch/ia64/kernel/process.c that changes
> ia64_do_show_stack to show the contents of the register backing store
> for each level.  I think this will help our post-mortem debugging
> of hard-to-reproduce problems, especially when customers do not have
> a working kernel core dump facility, by allowing us to see function
> argument registers and some of the locals for each function leading
> to the oops.  Note: this doesn't capture function arguments per se,
> since the argument register(s) could have been modified prior to the
> call to the next stack level.  You still have to read disassembly to
> debug this way :-)
> Is this generally interesting?  I'm wondering if it isn't currently
> done because of some issue with oops message size, or excessive
> printk's causing problems elsewhere?

Very nice and I think is extremely valuable for debugging, especially
the stack register dump.  I vote YES!!

- Ken

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Mar 11 14:27:55 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST