GDB macros

Luca Germano lucagermano at hotmail.com
Tue Sep 12 12:19:08 UTC 2006


I'm using Leon3 CPU.
If I want to debug the macros how can I do?
Thanks

>From: Joel Sherrill <joel.sherrill at oarcorp.com>
>To: Luca Germano <lucagermano at hotmail.com>
>CC: rtems-users at rtems.com
>Subject: Re: GDB macros
>Date: Tue, 12 Sep 2006 06:28:48 -0500
>
>Luca Germano wrote:
>>Thanks for the help.
>>I try to use the rtems_classic_tasks macro but gdb give me the following 
>>reply
>>
>The only way I know to debug these macros is careful insertion of debug 
>prints.
>
>What CPU are you on?  AFAIK backtrace is the only routine which requires
>CPU specific tinkering.
>
>>=====================================================================
>>Attempt to extract a component of a value that is not a structure.
>># | Name |    ID    | Pri |  Ticks   | State
>>---+------+----------+-----+----------+------------------------------
>>
>>How can I solve this problem?
>>
>>Best regards
>>Luca Germano
>>
>>
>





More information about the users mailing list