How update happen for pt_regs

manty kuma mantykuma at gmail.com
Tue Jan 21 04:12:06 EST 2014


Hi,

#include <inux/sched.h>
....
init_func()
{
..
..
show_regs();
}
Did you try including sched.h and calling show_regs() ?

Regards,
Manty

On Tue, Jan 21, 2014 at 5:49 PM, naveen yadav <yad.naveen at gmail.com> wrote:

> Dear All,
>
> I want to dump ARM registers, show_regs(regs) in spin_dump() function.
>
> But show_regs get called only from traps or fault code. Any idea how
> we can do in normal scenario ?
>
> Also I check code pt_regs got updated in  entry-armv.S, If any body
> have more idea how it is done.
>
>
>
> Thanks
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140121/fdfa2c0d/attachment.html 


More information about the Kernelnewbies mailing list