RTEMS gdb script

Chris Johns cjohns at cybertec.com.au
Thu Dec 12 01:25:22 UTC 2002


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.

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

Can this file please go into CVS ?

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




More information about the users mailing list