Content originally posted in LPCWare by LessThanZero on Fri Oct 23 08:38:11 MST 2015
By default, LPCXpresso disables interrupts while instruction stepping. I suspect that's what's going on here.
Unfortunately, when you issue a high-level step instruction, you don't know how GDB will implement the request. It may set a breakpoint and 'go', or it may instruction step to the instruction past the end of the current high-level line. Infinite loops are a particular problem. Either way, there is really no where to go. I suspect GDB tries to instruction step to the PC following the end of the high-level line, so LPCXpresso never enables interrupts.
LessThanZero