[Crash-utility] [RFC] display function param and local value for backtrace

Lei Wen adrian.wenl at gmail.com
Sat Oct 20 15:08:40 UTC 2012


Hi Rabin,

On Thu, Oct 18, 2012 at 5:04 PM, Rabin Vincent <rabin at rab.in> wrote:

> 2012/10/18 Lei Wen <leiwen at marvell.com>:
> > While I am trying to do similar thing in my patch, exacting the
> > registers from thread_info, instead of crash_note for those not
> > running task, I just could get the first unwind function, then it
> > failed. Do you have any idea for why?  The unwind goes normally for
> > the panic task.
>
> No idea from the top of my head.
>
> > Also I see your "gdb bt" would always fails at below message, is there
> > method to provide the cpsr for the not running task?
>
> I haven't really looked into this, sorry.
>

Finally, I get all thread works. Inspired by your getting register from
thread_info,
now everything seems goes right, and there is no gdb complain for missing
cpsr.

Thanks,
Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20121020/09e26499/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BT-show-out-param-and-local-name-and-value-when-do-b.patch
Type: application/octet-stream
Size: 14369 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20121020/09e26499/attachment.obj>


More information about the Crash-utility mailing list