Re: [PATCH v3] arm: fix a wrong value returned from CALLER_ADDRn

2013-03-15 Thread Russell King - ARM Linux
On Thu, Mar 14, 2013 at 01:35:01PM +0900, kpark3...@gmail.com wrote: > From: Sahara > > This makes return_address() return a correct value for CALLER_ADDRn. > To have a correct value from CALLER_ADDRn, we need to fix three points. > > * The unwind_frame() does not update frame->lr but frame->pc

[PATCH v3] arm: fix a wrong value returned from CALLER_ADDRn

2013-03-13 Thread kpark3469
From: Sahara This makes return_address() return a correct value for CALLER_ADDRn. To have a correct value from CALLER_ADDRn, we need to fix three points. * The unwind_frame() does not update frame->lr but frame->pc for backtrace. So frame->pc is meaningful for backtrace. * data.level should be