Problem running sparc-rtems5-gdb

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Sun Sep 22 07:00:33 UTC 2019


Hello,

I just checked that the built-in sis in gdb has been disabled in this
commit:
https://git.rtems.org/rtems-source-builder/commit/?id=abc540105d10ddc9cad7de3c7ac0a9aa209ac828

Niteesh: This means that the command you should use is `sparc-rtems5-sis`.
Can you please post the link to the exact page where the `sparc-rtems5-gdb`
steps are mentioned with `tar sim`? I think this would need to be updated
and
you can propose a patch for this.

Best regards,
Vijay


On Sun, Sep 22, 2019 at 11:04 AM Vijay Kumar Banerjee <
vijaykumar9597 at gmail.com> wrote:

>
>
> ( Please use the reply to all option to keep the conversation on the list )
> On Sun, Sep 22, 2019 at 10:50 AM Niteesh <gsnb.gn at gmail.com> wrote:
>
>> bsp: erc32
>>
>> arch: sparc
>>
>> Odd. It is expected to work in erc32 if your build is right. I don't have
> a
> recent sparc build so I can't verify right now.
> Let's wait for other people to join and help with the issue. :)
>
>>
>> On Sun, Sep 22, 2019 at 10:49 AM Vijay Kumar Banerjee <
>> vijaykumar9597 at gmail.com> wrote:
>>
>>>
>>>
>>> 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/96d64855/attachment-0002.html>


More information about the devel mailing list