RTEMS gdb script

Joel Sherrill joel.sherrill at OARcorp.com
Thu Dec 12 01:44:24 UTC 2002



Chris Johns wrote:
> 
> Joel Sherrill wrote:
> 
> >   dump_tasks     - prints classic API tasks
> >   dump_pthread           - prints pthreads
> >   dump_all_tasks   - prints internal, classic, and pthreads
> >   dump_ticks_chain - prints ticks chain (ISR serviced watchdog timers)
> >   dumps_ticks_tasks_chain - print ticks chain (task serviced watchdog
> > timers)
> 
> This is excellent.
> 
> I would prefer the following names:
> 
>     rtems-tasks
>     rtems-pthread
>     rtems-all-tasks
>     rtems-ticks-chain
>     rtems-ticks-tasks-chain
> 
> That is "rtems-" at the start and '-' not underscores. The '-' is more in keeping
> with GDB. For example "select-frame", "add-symbol-file" etc.

OK.

> It is also a good idea to add a 'document' entry for each user command.

That's a good idea.  Do you have an example?

It might be enough to simply add shells for desirable command and
document entries.  Then it might give folks the idea on what 
could be added.  

> Can this file please go into CVS ?

I think it needs to be .. Any suggestions on a real name and a location
in the source tree.

> --
>   Chris Johns, cjohns at cybertec.com.au

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