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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux