<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 8, 2019, 3:08 PM Michel Macena <<a href="mailto:mmacena.eng@gmail.com">mmacena.eng@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi, <br></div><div>I have compiled a modified version of  file hello_world_c from</div><div>example V2 repository 4-10-2 version in SPARC-RTEMS5-GCC.</div><div>The only modification was on the text of "Hello World".</div><div>Command line: <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>sparc-rtems5-gcc -Wall -g -B /home/inpe/masters_p     roject/rtems/5/sparc-rtems5/erc32/lib -specs bsp_specs -qrtems -mcpu=cypress /home/inpe/rtems_examples/examples-v2-examples-v2-4-10-2-modified/hello/hello_world_c/test.c -o /home/inpe/rtems_examples/compile_test/hello_test/hello2.exe<br></div></blockquote><div><br></div><div>After that I tried to connect to an ERC 32 chipset board through sparc-rtems5-gdb in</div><div>order to load and test the file.</div><div>the first command worked:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>sparc-rtems5-gdb /home/inpe/rtems_examples/compile_test/hello_test/hello2.exe<br></div></blockquote><div>but when I put <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>set remotebaud 19200<br></div></blockquote><div>in order to set the baud rate of the connection  sparc-rtems5-gdb returns:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>No symbol "remotebaud" in current context.<br></div></blockquote><div><br></div><div>As far as I know the old documents I have here from the board give instructions</div><div>using this command to connect and debug. Also I it is worth noting that "-g" flag was used do compile and no optimization flag was used. The board comes with rdbmon v1.1 programmed to allow remote debugging.</div><div><br></div><div>Could someone explain ? <br></div></div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you do target remote before setting the baudrate?</div><div dir="auto"><br></div><div dir="auto">And this version of the gdb manual shows a different looking command.</div><div dir="auto"><br></div><div dir="auto"><a href="https://sourceware.org/gdb/onlinedocs/gdb/Remote-Configuration.html">https://sourceware.org/gdb/onlinedocs/gdb/Remote-Configuration.html</a><br></div><div dir="auto"><br></div><div dir="auto">Is that from an old example? Did they show the gdb version in the example?</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div><div><br></div><div><br></div><div> <br></div></div></div></div></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div></div></div>