<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I didn't get the printk working .. So, I looked for a new way for debuggin and finaly I got the Xilinx sdk debug the .elf. And when debugging it doesn't stop in the same line as the fist method ( XMD+gdb). But the problem of this , is when arriving to newlibc_exit.c the debugger stops and show me the error : </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(11,83,148)">Can't find a source file at "/mnt/D/dev/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-a/neon/hard/newlib/libc/misc/../../../../../../../../../gcc-6-20160228/newlib/libc/misc/fini.c" </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Locate the file or edit the source lookup path to include its location. </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I searched for this file and I couldn't find it. </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I'm looking also to the openOCD way of debugging .. Maybe I'll get the adaptor from Avnet to try this, I'm just afraid to face the same problem. </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Thank you </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="verdana, sans-serif" color="#073763">________<br></font></div><div><font face="verdana, sans-serif" color="#073763"><br></font></div><font face="verdana, sans-serif" color="#073763"><b>Badr EL HIOUEL</b> </font><div><div><font face="verdana, sans-serif" color="#073763">Mail :<a href="mailto:elh.badr@gmail.com" target="_blank"> elh.badr@gmail.com</a></font></div><div><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-31 3:50 GMT+02:00 Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 30/03/2016 11:45 PM, Badr El Hiouel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've written to XIlinx and I'm waiting their answer. But, I was looking in<br>
a solution of the problem so I returned back to see the the confirations<br>
possible when building the RTEMS BSP and I found this config :<br>
--enable-rtems-debug ; I didn't this when I was configuring the RTEMS BSP.<br>
What do this config ?<br>
</blockquote>
<br></span>
The --enable-rtems-debug option turns on some assert type checks and some extra debugging code paths in RTEMS. It will not help here.<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Without this config can I debug RTEMS ?<br>
</blockquote>
<br></span>
Yes. It does not change how you debug RTEMS.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe this is the problem of what I'm trying to do ..<br>
</blockquote>
<br></span>
I doubt it.<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris<br>
</font></span></blockquote></div><br></div>