Debugging RTEMS application for zedboard

Chris Johns chrisj at rtems.org
Wed May 17 23:50:35 UTC 2017


On 18/05/2017 01:22, Gabriel Brusq wrote:
> Hello,
>   
> I am just starting debugging some RTEMS applications for Xilinx-Zynq using XMD (Xilinx Debugger)
>   
> I've heard GDB does not support dynamic positioning of breakpoint
> which means that breakpoint must be set before compiling, with function breakpoint()

This is not the case. The CortexA9 supports break point instructions as 
well as a hardware break and watch points.

> As it is not really convenient, so here my question:
> Is there any other source-level debugging option ?
>   
> I've found in the archives some threads regarding openOCD
> Is it what should be used for convenient symbolic debugging ?
>   
> I would appreciate to be enlightened on this point

There are a number of options depending on your projects needs and 
budget. I suggest you review the Zynq - Zedboard wiki page:

https://devel.rtems.org/wiki/Boards/Zynq%20-%20Zedboard

I use JTAG with OpenOCD and libdebugger. The libdebugger support is 
usable but has some issues I am looking into.

Chris


More information about the users mailing list