Compile rtems c code in debug mode
Joel Sherrill
joel.sherrill at OARcorp.com
Wed Aug 8 16:30:43 UTC 2012
On 08/08/2012 11:22 AM, Luca Cinquepalmi wrote:
> Hi all,
> I'm able to compile a rtems C source code and make it run on a target
> board. It works without any problems.
> Now i want to compile it in debug mode. Shall I only use *-g* flag or
> there are other options to set?
> I'm using sparc-rtems4.11-gcc compiler.
Normally we build with -g so you should have debug information.
If using a Gaisler snapshot, I doubt they changed that.
Do a file command on the .exe file and it will report if it has symbols
or not.
> Thanks.
>
> Luca
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120808/4bdf6448/attachment-0001.html>
More information about the users
mailing list