<div dir="ltr"><div dir="ltr">On Thu, Mar 19, 2020 at 11:43 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Mar 19, 2020 at 11:56 AM Niteesh G. S. <<a href="mailto:niteesh.gs@gmail.com" target="_blank">niteesh.gs@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> While looking for small tasks to take up, Gedare mentioned about adding GDB BSPs<br>
> to rtems-tester. Can some please explain a bit more of what has to be done? I guess<br>
> we have to write configuration files for BSPs that support simulation in GDB. If so, how<br>
> could I find those BSPs, do I have to individually look at all the BSPs?<br>
><br>
As I said off-list, I don't know if there's a list of GDB BSPs, but I<br>
know of at least:<br>
powerpc/psim<br>
mips/jmr3904<br>
moxie/moxiesim<br>
arm/gdbarmsim<br>
sh/shsim<br>
<br>
I have no idea what any of their statuses are or if they are expected<br>
to work. The first step would be building them and see if they run<br>
anything. After that, you should look at the existing tester scripts for<br>
some targets:<br>
  rtems-tools.git/tester/rtems/testing/bsps<br>
I see scripts for most of what I listed above, so the next step would<br>
be trying to run them via tester and see if it works.<br></blockquote><div> </div><div>I built the simsh1 BSP but couldn't get it running. Before trying it with rtems-run</div><div>and rtems-test I tried manually loading it in the simulator. But gdb doesn't respond</div><div>as soon as I execute the run command. The only way to exit it was using ctrl-c and GDB</div><div>responds with</div><div>sim_events_schedule_after_signal - buffer overflow<br>Quit<br>Aborted (core dumped)<br></div><div>I tried setting breakpoints within GDB but it never seems to hit them. I tried running the</div><div>examples through rtems-test results in ta imeout.</div><div><br></div><div>Due to the slow internet connection and slow development machine, I could only build</div><div>and test a few BSPs. In case if anyone has an already built tool suite and BSP for the</div><div>mentioned arch please try them out.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">BTW: Did I mention adding these to tester, or did I mention creating<br>
build sets for them? Anyway, I think the GDB simulator builds by<br>
default with the toolchain, so there is no difference between a BSP<br>
buildset (such as for jmr3904) and one that supports running on GDB.<br>
At least, I think so. It is worth verifying.<br>
<br>
Gedare<br>
<br>
> Thank you,<br>
> Niteesh.<br>
> _______________________________________________<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>