On 12/03/2014 01:31 PM, Paul Fertser wrote: > On Wed, Dec 03, 2014 at 01:18:05PM -0500, gds wrote: >> Very general question: Is it possible to set a hardware breakpoint on a >> running target? I am assuming usage of openocd, gdb, and a jtag adapter >> such as olimex. (Of course, setting the breakpoint with the target >> halted is the usual way.) > > Depends on the target, seems it should be possible with cortex_m. >
Yes, cortex-m3 has no problem with this when using greenhills probe on jtag (however, I think you need to halt the target before setting s/w BPs with gh). However, don't know if gdb allows setting/clearing BPs with the target processor running. I have mostly used insight debugger (containing linked in gdb) and it requires a halt to set any BP. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
