Problem with gdb script

Joel Sherrill joel.sherrill at OARcorp.com
Thu Sep 4 21:59:02 UTC 2003


Brett Swimley wrote:

> Interestingly enough, if I do:
> 
> p (struct Thread_Control_struct  *)_RTEMS_tasks_Information.local_table[0]
> 
> instead of
> 
> p (Thread_Control *)_RTEMS_tasks_Information.local_table[0]
> 
> Things work fine!
> 
> It's an OK work around for me for now.

Could you email me what you are using and I will add it to CVS
and see if we can start trying to integrate it and improve it.

Chris Johns... didn't you know how to make them all of the form
"rtems subcommand" and add them to the documentation tree?

I would really like to see more commands supported.  Next on my
list was a heap/executive workspace info command.

Eventually I would like to discuss add these to the gdb RPMs and include
them possibly include them automatically at startup.

--joel


Eventually

> Regards,
> 
> Brett
> 
> 
> Brett Swimley wrote:
> 
>> Thanks for the suggestion.  I tried it, and still no luck. :(
>>
>>
>> Joel Sherrill wrote:
>>
>>>
>>> Sometimes "set lang c" has helped me when debugging Ada. Maybe gdb isn't
>>> in the right language mode when you type this.
>>
>>
>>
>>
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the users mailing list