Hello,
I have a debugging issue when using single step debugging: during this debugging mode the debugger often stops in __get_ipsr_value() instead of jumping over the function and then debugger won't get out of __get_ipsr_value(). The only workaround I actually know is to set breakpoints at a certain line. But this is not the way of perfroming an effective development.
I'm not sure but I guess this behaviour occures since I've added the source of tx or nx module, may be anyone has a hint how I can avoid or supress this behaviour?
__attribute__( ( always_inline ) ) static inline unsigned int __get_ipsr_value(void)
{
unsigned int ipsr_value;
__asm__ volatile (" MRS %0,IPSR ": "=r" (ipsr_value) );
return(ipsr_value);
}
Any idea or help, is very appreciated.
Thanks in advance and best regards
Ralph