<div dir="ltr"><br><div class="gmail_quote">2008/9/2 Gene Smith <span dir="ltr"><<a href="mailto:gds@chartertn.net">gds@chartertn.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have two IRQ exceptions: timer and ethernet. They are both handled by<br>
_ISR_Handler in irq_asm.S. When I look with jtag debugger, I see<br>
_ISR_Handler being called again while it is is progress (reentered) even<br>
though the IRQ disable bit in the CPSR is set (disabled == 1) according<br>
to gdb. Sometimes _ISR_Handler calls ethernet and sometimes timer, but I<br>
never see it actually return.<br>
<br>
Would this be expected with the CSPR set to 0x00000092 ?  I would think<br>
with IRQ disabled, _ISR_Handler would never be reentered.<br>
</blockquote><div><br>It is true that when IRQ disabled, it should not re-enter ISR_Handler. <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
The program runs fine as long as I don't hit a breakpoint. After I hit a<br>
breakpoint and try to step or eventually continue, the program always<br>
crashes. So, with this problem, my debugger is useless.</blockquote><div><br>It seems that the debugger change the mechanism of ISR for ARM. <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Thanks,<br>
-gene<br>
<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.com">rtems-users@rtems.com</a><br>
<a href="http://rtems.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://rtems.rtems.org/mailman/listinfo/rtems-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks & Best Regards!<br><br>Ray, Xu<br>
</div>