Search Results
Search results 1-6 of 6.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi Alex,Quote: “ Why do you see any need for a "swbreak" function which includes nothing than a breakpoint instruction and jump back to the caller?” For portability. The RTOS I am using can target more than just Cortex-M cores, so hiding a software break behind a function call is very useful. The break gets embedded in critical areas that contain context (i.e. during a kernel panic). It makes GDB significantly easier to script since I don't have to worry about defining breakpoints for every poss…
-
I have encountered a problem when debugging programs that issue a bkpt instruction using a J-Trace Cortex-M. I had originally posted the bug to GNU Tools for ARM Embedded Processors (the toolchain in question), however I was informed this could be an issue in the GDB server implementation provided by SEGGER: bugs.launchpad.net/gcc-arm-embedded/+bug/1383840 If debugging a function that issues a bkpt instruction, arm-none-eabi-gdb correctly traps and prompts the user, however execution will not co…