<div dir="ltr"><div>Hi,</div><div><br></div><div>You can try setting up breakpoints at various scheduler decision points, and the function that is called by the executing thread just before it performs context switch. Did you try that? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 1, 2021 at 4:36 AM <<a href="mailto:gerberhe11@gmail.com">gerberhe11@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="gmail-m_8693570744630818080WordSection1"><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am working on re-implementing support for the uC5282 board in Qemu for use with RTEMS. I think I am getting close, but am running into some debugging issues in regards to context switching. I am using the RTEMS ‘hello’ application for uC5282 to work on and debug my modifications. Currently, at some point during execution, the context of RTEMS goes to the idle thread instead of the init thread. I am struggling somewhat with finding a way to debug this context switch, and would really appreciate any advice or help if anyone may have some to give! I can also explain more thoroughly what is happening, along with providing debugging info, if anyone would like to help or has any ideas!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks so much, <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Harrison Gerber<u></u><u></u></i></p><p class="MsoNormal"><a href="mailto:gerberhe11@gmail.com" target="_blank"><span style="color:rgb(5,99,193)">gerberhe11@gmail.com</span></a><u></u><u></u></p><p class="MsoNormal">720-288-7308<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div><div id="gmail-m_8693570744630818080DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" style="color:rgb(68,83,234)" target="_blank">www.avast.com</a>
</td>
</tr>
</tbody></table><a href="#m_8693570744630818080_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></div>_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div>