Problem running sparc-rtems5-gdb

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Sun Sep 22 05:19:09 UTC 2019


On Sun, Sep 22, 2019 at 10:35 AM Niteesh <gsnb.gn at gmail.com> wrote:

> The problem actually occurred when I was trying to run the hello.exe with
> gdb.
> 1: *sparc-rtems5-gdb hello.exe*
> and inside gdb to set the target as simulator.
> 2: *tar sim*
>
> This is the expected sequence, what BSP are you using?

> (gdb) tar  sim
> Undefined target command: "sim".  Try "help target".
>
> 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?
>
> On Sun, Sep 22, 2019 at 10:29 AM Vijay Kumar Banerjee <
> vijaykumar9597 at gmail.com> wrote:
>
>>
>>
>> On Sun, Sep 22, 2019 at 10:01 AM Niteesh <gsnb.gn at gmail.com> wrote:
>>
>>> I was following the quick-start guide from
>>> https://docs.rtems.org/branches/master/user/start/index.html
>>> I followed the exact steps but still couldn't get the hello world
>>> running. I face issues when running the GDB, when trying to set the
>>> target to simulator I get "undefined target cmd: sim",
>>> Is it an issue on my side or is something missing in the docs?
>>>
>> Hi Niteesh,
>>
>> Usually, it is enough to post to any one of devel or users list.
>>
>> Can you please post the exact command sequence that gave you the
>> error? You can copy the command output here if it's not long, or paste
>> it somewhere like a github gist and send the link here.
>>
>> Best regards,
>> Vijay
>>
>>> _______________________________________________
>>> devel mailing list
>>> devel at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/devel
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190922/b8f3935d/attachment-0002.html>


More information about the devel mailing list