<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">>> I've heard GDB does not support dynamic positioning of breakpoint<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">>> which means that breakpoint must be set before compiling, with function breakpoint()<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> This is not the case. The CortexA9 supports break point instructions as<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> well as a hardware break and watch points.<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">Well if I understand I should compile rtems-gdb and I could easily debug source-level ?<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">>> Is there any other source-level debugging option ?<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> There are a number of options depending on your projects needs and<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> budget. I suggest you review the Zynq - Zedboard wiki page:<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">><o:p> </o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> <a href="https://devel.rtems.org/wiki/Boards/Zynq%20-%20Zedboard" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0">https://devel.rtems.org/wiki/Boards/Zynq%20-%20Zedboard</a><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">><o:p> </o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> I use JTAG with OpenOCD and libdebugger. The libdebugger support is<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">> usable but has some issues I am looking into.<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">What are the benefits to use OpenOCD instead of GDB ?<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">Regarding libdebugger I found your previous thread <a href="https://lists.rtems.org/pipermail/devel/2016-November/016430.html" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="1">https://lists.rtems.org/pipermail/devel/2016-November/016430.html</a><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">What is this library for ? How is it used ?<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="background-color: rgba(255, 255, 255, 0);">Thanks for your answers,<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">Gabriel Brusq</span></p><div></div></div></body></html>