Better GDB support for rtems.

Dhananjay Balan mb.dhananjay at gmail.com
Sun Apr 7 08:39:07 UTC 2013


Hi,
Thanks for the reply.


On 5 April 2013 08:10, Rempel, Cynthia <cynt6007 at vandals.uidaho.edu> wrote:

> 2. There are two shells applications that I know of: the fileio sample,
> and the multiio application.
>
> The fileio works fine in sim.

> git clone git://git.rtems.org/multiio.git
>
> To build the multiio RTEMS application:
>
> export PATH=$PATH:/opt/rtems-4.11/bin
> export RTEMS_MAKEFILE_PATH=/opt/rtems-4.11/i386-rtems4.11/pc386/
> make
>
> This is not working for me. I get an error stating
mio_io_rtems.c:20:21: fatal error: i386_io.h: No such file or directory

Is it because multiio is a i386 only application?  The full terminal output
is here  https://gist.github.com/anonymous/5329527

> submitted request for better documentation of multiio in bugzilla:
> https://www.rtems.org/bugzilla/show_bug.cgi?id=2095
>
> 3. I don't know whether there is a benefit to running qemu-sparc over gdb,
> but I suspect gdb would be better documented and easier to get started with.
>
> Hope this helps!
>
> Cynthia Rempel
>
> ________________________________________
> From: rtems-devel-bounces at rtems.org [rtems-devel-bounces at rtems.org] on
> behalf of Dhananjay Balan [mb.dhananjay at gmail.com]
> Sent: Thursday, April 04, 2013 1:13 PM
> To: Chris Johns
> Cc: rtems-devel at rtems.org
> Subject: Better GDB support for rtems.
>
> Hi,
>
> I was fooling around rtems (Not much, was taking tests till yesterday) and
> the general debugging stuff (Structures and stuff..), but I couldn't find
> much documentation about it.
>
> I was stuck at following points,
>
> * Is there any specific tutorials or anything about GDB and rtems?
> * I could find from the wiki that rtems provides a primitive shell to
> debug applications to a limit, I found the document on the shell - but I am
> confused how to run it in a simulator. Any help?
> * Afiu the simulator is a sparc sis (arch-run command) I am using, is
> there any advantage if I run a qemu-sparc instance instead?
>
> --
> Regards,
> Dhananjay M Balan,
>
>
>


-- 
Regards,
Dhananjay M Balan,
Department Of Computer Science,
College Of Engineering, Trivandrum.
http://cet.ac.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130407/ba91617b/attachment.html>


More information about the devel mailing list