Problem with gdb script

Joel Sherrill joel.sherrill at OARcorp.com
Fri Sep 5 13:37:21 UTC 2003


Brett Swimley wrote:

> I'll put together what I've got and send it out but it's really not any 
> more than what Joel had originally put together.  I do have a little 
> script function that sets up a pointer to the Task_Control structure 
> given the object_id.

This type of small thing is good.  It indicates what people really
need when debugging.

Everything that is there now was written by me as part of a few days
of intense debugging of some task/timer interactions in an Ada
application with over 25 tasks.  It was ugly to poke around by hand
so I learned macros. :)

--joel

> Nothing too fancy yet, I'm afraid,  but feel free to use it !
> 
> 
> Chris Johns wrote:
> 
>> Joel Sherrill wrote:
>>
>>>
>>> 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.
>>>
>>
>> Can I get a copy. I will update the scripts in CVS.
>>
>>> Chris Johns... didn't you know how to make them all of the form
>>> "rtems subcommand" and add them to the documentation tree?
>>
>>
>>
>> I am not sure about command layering, but a simple 'rtems-*' would be 
>> a start, and yes documentation can be added to script commands.
>>
>>> I would really like to see more commands supported.  Next on my
>>> list was a heap/executive workspace info command.
>>
>>
>>
>> Are you thinking of making calls from GDB to the certain code on the 
>> target ?
>>
>>> Eventually I would like to discuss add these to the gdb RPMs and include
>>> them possibly include them automatically at startup.
>>
>>
>>
>> Good idea.
>>
> 


-- 
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