[solved] sparc-rtems4.11-gdb error + gdb question

SAeeD salpha.2004 at gmail.com
Thu Sep 6 14:51:04 UTC 2012


>
> What kind of option shall I add in my makefile to compile rtems source
> file in debug mode?


As far as I know, there is no need to change Makefile manually. It is
sufficient to use --enable-rtems-debug while configuring.

On Thu, Sep 6, 2012 at 12:22 PM, Luca Cinquepalmi
<cinquepalmi at planetek.it>wrote:

> I solved my problem. Actually the problem was that I used rtems-gdb RPM.
> I tryed to build it by myself and now I don't have that kind of error.
> I have now another question.
> What kind of option shall I add in my makefile to compile rtems source
> file in debug mode?
> Only -g in compyling options and links? Shall I add some command in C
> source file?
> Compiled in release mode my software works fine...
>
> Thanks a lot
>
>     Luca
>
>
>
> Il 04/09/2012 15.59, Luca Cinquepalmi ha scritto:
>
>> What does this message mean?
>>
>> 'import site' failed; use -v for traceback
>> Traceback (most recent call last):
>>   File "/usr/lib/command-not-found", line 10, in <module>
>>     import CommandNotFound
>> ImportError: No module named CommandNotFound
>>
>> this is the result of "system" command.
>> Do you have a skype contact?
>>
>>
>> Il 04/09/2012 15.53, Joel Sherrill ha scritto:
>>
>>> system sparc-rtems4.11-gdb
>>>
>>
>>
> ______________________________**_________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/**listinfo/rtems-users<http://www.rtems.org/mailman/listinfo/rtems-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120906/50f12a8c/attachment-0001.html>


More information about the users mailing list