I am debugging a piece of (embedded) software. I set a breakpoint on the function, and for some reason, as soon as I reach this breakpoint, and continue , I always return to the function (which is the initialization function, which should be called only once). When I remove the breakpoint and continue , GDB tells me:
Program received signal SIGTRAP, Trace/breakpoint trap.
Since I worked with breakpoints, I assume that I fell into the "interrupt trap". What is a breakpoint trap?
c arm embedded gdb
Randomblue
source share