I am trying to capture all the possible information for all the threads from a "so called monitor" thread, like PC, SP, LR or whole TD.
I am able to get SP_BASE and SP and SP Limit from the TD_STRUCT of MQX.
But I am not able to find PC and LR.
Let me clarify my motive behind my active which is to gather all such information of TD while Watchdog is going to trigger.
So in my system I am using api to get TD and accessing it's info.
Does anyone know how can I get value of last PC of all the threads?