i'm working on debugging with gdb. i wanted to know how gdb works internally to set a brekpoint on an embedded processor through JTAG.
It either programs a hardware breakpoint register or places a software breakpoint by replacing the instruction at the breakpoint with an instruction that will cause an exception.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With