Can't run sample program

Gedare Bloom gedare at rtems.org
Wed Aug 12 20:37:44 UTC 2015


Perhaps try qemu, some instructions are here [1], or the
sparc-rtems4.11 with sparc-rtems4.11-sis with directions in the Quick
Start on our wiki.

GDB can't natively run an RTEMS compiled application without
additional support in GDB for a simulator of the target platform. For
i386 this simulator is not supported. (A simulator is needed at a
minimum to support executing privileged instructions.)

[1] https://devel.rtems.org/wiki/Developer/Simulators/QEMU

On Wed, Aug 12, 2015 at 3:36 PM, Sarvesh Patkar
<sarveshspatkar at gmail.com> wrote:
> Hi again,
>
> I tried to run the sample, ticker.exe using gdb. But it gives error as
> follows.
>
> sarvesh at myLinux:~$ i386-rtems4.11-gdb `find . -name ticker.exe`
> GNU gdb (GDB) 7.9
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=x86_64-linux-gnu
> --target=i386-rtems4.11".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from
> ./development/rtems/src/rtems-source-builder/rtems/pc386/i386-rtems4.11/c/pc386/testsuites/samples/ticker/ticker.exe...done.
> (gdb) r
> Don't know how to run.  Try "help target".
> (gdb)
>
> What might be the possible reason?
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users



More information about the users mailing list