<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:35 AM Niteesh <<a href="mailto:gsnb.gn@gmail.com">gsnb.gn@gmail.com</a>> wrote:<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 dir="ltr">The problem actually occurred when I was trying to run the hello.exe with gdb.<div>1: <b>sparc-rtems5-gdb hello.exe</b></div><div>and inside gdb to set the target as simulator.</div><div>2: <b>tar sim</b></div><div><b><br></b></div></div></blockquote><div>This is the expected sequence, what BSP are you using? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><b></b></div><div>(gdb) tar  sim<br>Undefined target command: "sim".  Try "help target".<br></div><div><br></div><div>While going through some stackoverflow posts I found that to target simulators --enable-sim has to given while building gdb, Is this the problem or am I missing something?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:29 AM Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com" target="_blank">vijaykumar9597@gmail.com</a>> wrote:<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 dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:01 AM Niteesh <<a href="mailto:gsnb.gn@gmail.com" target="_blank">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I was following the quick-start guide from<br>
<a href="https://docs.rtems.org/branches/master/user/start/index.html" rel="noreferrer" target="_blank">https://docs.rtems.org/branches/master/user/start/index.html</a><br>
I followed the exact steps but still couldn't get the hello world<br>
running. I face issues when running the GDB, when trying to set the<br>
target to simulator I get "undefined target cmd: sim",<br>
Is it an issue on my side or is something missing in the docs?<br></blockquote><div>Hi Niteesh,</div><div><br></div><div>Usually, it is enough to post to any one of devel or users list.</div><div><br></div><div>Can you please post the exact command sequence that gave you the</div><div>error? You can copy the command output here if it's not long, or paste</div><div>it somewhere like a github gist and send the link here.</div><div><br></div><div>Best regards,</div><div>Vijay</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>