<div dir="ltr"><div>Which architecture should I try then? Maybe powerpc or mips? If you have any</div><div>of them already built can you please try them out? Building everything from</div><div>source takes a lot of time in my dev machine.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 21, 2020 at 6:41 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</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">On Sat, Mar 21, 2020 at 12:54 AM Niteesh G. S. <<a href="mailto:niteesh.gs@gmail.com" target="_blank">niteesh.gs@gmail.com</a>> wrote:<br>
><br>
> On Thu, Mar 19, 2020 at 11:43 PM Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:<br>
>><br>
>> 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>
><br>
><br>
> I built the simsh1 BSP but couldn't get it running. Before trying it with rtems-run<br>
> and rtems-test I tried manually loading it in the simulator. But gdb doesn't respond<br>
> as soon as I execute the run command. The only way to exit it was using ctrl-c and GDB<br>
> responds with<br>
> sim_events_schedule_after_signal - buffer overflow<br>
> Quit<br>
> Aborted (core dumped)<br>
> I tried setting breakpoints within GDB but it never seems to hit them. I tried running the<br>
> examples through rtems-test results in ta imeout.<br>
><br>
> Due to the slow internet connection and slow development machine, I could only build<br>
> and test a few BSPs. In case if anyone has an already built tool suite and BSP for the<br>
> mentioned arch please try them out.<br>
><br>
I don't know that anyone uses this architecture. Don't spend too much<br>
effort trying to debug the simulator :)<br>
<br>
>> 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>