I’m trying to use gdb on a cortex m3, and I can connect to the ‘debugger’ just fine, see the listing etc but I have a problem with stepping thru code : if I type ‘next’ I always end up in an interupt handler. I know that ‘technicaly’ it the right thing to do, but in my case I want to go to the next line in the code I did a breakpoint in…
Is there a trick to make it work ?
Also, I noticed ‘simple’ commands tends to crash openocd, like "p *mystruct’…