sparc-rtems-gdb doesn't recognize target "sim"

Jiri Gaisler jiri at gaisler.se
Wed Nov 13 09:15:48 UTC 2019


On 11/13/19 9:48 AM, Vaibhav Gupta wrote:
> You can also use "sis"
>
> 1- Open Terminal 1 and write:
>
> $ sparc-rtems5-sis -gdb
>         # It will print 'gdb: listening on port 1234'.
>         # Note you can define port number with '-port' option.
>
> 2-Open Terminal 2 and write:
>
> $ sparc-rtems5-gdb hello.exe
>         # gdb asks for several inputs
>                 $ target extended-remote localhost:1234
>                 $ load
>                 $ r
>
> Use the notes here: https://github.com/VARoDeK/MyNotes/blob/master/RTEMS/run_a_testsuite.md


Note that the procedure for RISC-V can be exactly the same, usings riscv-rtems5-sis and the RTEMS griscv bsp ..

Jiri.


>
> On Wed, Nov 13, 2019, 1:06 PM Vijay Kumar Banerjee <vijaykumar9597 at gmail.com <mailto:vijaykumar9597 at gmail.com>> wrote:
>
>
>
>     On Wed, Nov 13, 2019 at 12:39 AM Shubham Bhagat <shubhambhagat111 at yahoo.com <mailto:shubhambhagat111 at yahoo.com>> wrote:
>
>         Hello everyone,
>         I've been trying to run the hello world example in source tree <https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start#Running> to get started with sparc/erc32 but after building all that is required ( followed POSIX Compliance (Getting started challenge for RTEMS beginners) <https://rmeena840.github.io/Third-Post/>). I
>         followed all the commands. But, when gdb starts and I set "tar sim" it says:
>
>         Undefined target command: "sim".  Try "help target".
>
>         I also tried running hello.exe from the testsuites sample using sparc-rtems5-run but it doesn't recognize the command.
>         NOTE: The make and make install steps didn't finish with a "SUCCESS" or anything. They exited without showing any error.
>
>         Am I missing out anything here?
>
>     I guess this thread will be helpful for you:
>     https://lists.rtems.org/pipermail/devel/2019-September/055671.html 
>
>
>         	
>
>
>             POSIX Compliance (Getting started challenge for RTEMS beginners)
>
>         Ravindra Kumar Meena
>
>         POSIX stands for Portable Operating System Interface for uni-X. POSIX Compliance allows us to port the source co...
>
>         <https://rmeena840.github.io/Third-Post/>
>
>
>         _______________________________________________
>         devel mailing list
>         devel at rtems.org <mailto:devel at rtems.org>
>         http://lists.rtems.org/mailman/listinfo/devel
>
>     _______________________________________________
>     devel mailing list
>     devel at rtems.org <mailto:devel at rtems.org>
>     http://lists.rtems.org/mailman/listinfo/devel
>
>
> _______________________________________________
> 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/20191113/fdd2cad5/attachment-0001.html>


More information about the devel mailing list