Module Name: src Committed By: joerg Date: Thu Mar 20 01:35:45 UTC 2014
Modified Files: src/sys/lib/libunwind: UnwindCursor.hpp libunwind.cxx Log Message: Fix DW_CFA_GNU_args_size handling. The primary architecture using this opcode is VAX. A function call pushes the number of arguments given onto the stack and "ret" will pop it automatically. The FDE of the caller contains the amount of stack space used for arguments (and possibly extra padding), so unwinding has to compensate for this when "returning" from a function. This is exactly the case when step() is done. The existing handling in _Unwind_SetIP no longer makes sense. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/lib/libunwind/UnwindCursor.hpp cvs rdiff -u -r1.4 -r1.5 src/sys/lib/libunwind/libunwind.cxx Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.