Better GDB support for rtems.
Rempel, Cynthia
cynt6007 at vandals.uidaho.edu
Fri Apr 5 02:40:33 UTC 2013
Hi Dhananjay Balan,
Thankyou for your interest in RTEMS!
1. An RTEMS gdb resource
http://wiki.rtems.org/wiki/index.php/GDB_Python
2. There are two shells applications that I know of: the fileio sample, and the multiio application.
To use the fileio sample, start it much like you would start the hello world sample.
To use the multiio application, make sure to run make install in the rtems build directory then
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
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,
More information about the devel
mailing list