[Crash-utility] [PATCH 0/2] Display local variables & function parameters from stack frames

Sharyathi Nagesh sharyath at in.ibm.com
Tue May 5 11:58:46 UTC 2009


Hi
	Mohan, Sachin and myself have implemented this feature in crash to 
display local variables and arguments from vmcore dumps. This feature
introduces a new command 'local' in crash utility which provides
interface for stack unwinding along with option to display local
variables and arguments. This patch is based on crash utility
crash-4.0-8.9. It has dependency on libdw/libelf libraries provided by
elfutils package.
	This has been tested on dumps taken on ppc64 machine. We were able to 
unwind the stack as well as display local variables, arguments. It 
currently displays values for non-optimized variables only (this fallows 
gdb's convention)

TODO Items:
	1. Support on x86_64 and x86 need to be implemented/tested
	2. Makefile need to be updated to help packaging this feature
	
Regards
Sharyathi Nagesh




More information about the Crash-utility mailing list