As I read in older posts: the OpenOCD controls and manages the hardware debug
interface to a target.  Gdb has no knowledge of the specifics
of the remote target and OpenOCD functions as a gdb server, receiving and acting
on higher level user commands (e.g., breakpoint), and alerting gdb to the
occurrence of events (e.g., halting).

I have found that OpenOCD is able to set a software breakpoint replacing the
instruction at the breakpoint address with the target processor breakpoint
instruction. 

So far I know the instruction "bp [address length]" will set a breakpoint on
code execution starting at 'address' for 'length' bytes.

My question is the following, while debugging an ARM target supported by
OpenOCD, Is it possible to set breakpoints at high level language? I mean by
pointing the breakpoint by file name and code line number? 

Thanks a lot for your support

Best Regards

Johan

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to