GDB macros

Luca Germano lucagermano at hotmail.com
Thu Sep 14 06:59:45 UTC 2006


Hi,
I'm using Rtems 4.6.5 on Leon3

Regards
Luca

>From: Paul Whitfield <paulw at omnitronics.com.au>
>To: Joel Sherrill <joel.sherrill at oarcorp.com>
>CC: Luca Germano <lucagermano at hotmail.com>,  leonp at plris.com,  
>rtems-users at rtems.com
>Subject: Re: GDB macros
>Date: Thu, 14 Sep 2006 08:31:31 +0800
>
>Joel Sherrill wrote:
>>Luca Germano wrote:
>>>Hi, thanks for your help.
>>>I'm using the GDB macros version of the rtems wiki. I'm using RTEMS on 
>>>Leon3 CPU.
>>>I find the problems.
>>>When a macro refers to an RTEMS global variables is necessary to cast the 
>>>variables to the primitive type of the variable to be able to access its 
>>>fields. Doing the cast the macros work fine. For examples in the 
>>>rtems_classic_tasks macros I can't use directly _RTEMS_tasks_Information 
>>>but I must do
>>>set $prova = (Objects_Information)_RTEMS_tasks_Information
>>>rtems_helper_show_task $prova $arg0
>>>instead of
>>>rtems_helper_show_task _RTEMS_tasks_Information $arg0
>>>In some macro there are some pointer conversion cast for example
>>>(Thread_Control_struct *)
>>>Also this instraction doesn't work. I must use
>>>(Thread_Control *)
>>>Now I must correct all the macros.
>>Thanks. Please update the source code in the Wiki.
>
>Hi All,
>
>This is the exact opposite of what I needed to do to get the
>macros working with Rtems 4.6.5 on m68k - coldfire.
>
>So perhaps we need two copies of the script on the
>wiki?
>
>Luca - what version of RTEMS are you using?
>
>Regards
>
>Paul
>
>=========================================================================
>The information in this e-mail is intended for the addressee only.
>Unauthorised use, copying, disclosure or distribution by anyone else
>is prohibited. Please let us know immediately if you receive this
>e-mail in error. Thank you.
>=========================================================================
>





More information about the users mailing list