hanging tasks - information about task state etc.

Joel Sherrill joel.sherrill at OARcorp.com
Fri Jan 24 14:43:39 UTC 2003

Peter Mueller wrote:
> Hash: SHA1
> Hello,
> I have the problem that my tasks seems to stop running after some seconds.
> The debugger (control C) shows me that the system executes the idle task
> all the time. I like to know what states my tasks have (suspended ...).
> Some time ago someone posted a set of gdb macros to display task
> information etc. Unfortunately I can't find the mail anymore. Can someone
> send me the macros again?
> Are there any other good methods to get information about the task set
> (beside CPU_usage_Dump) or system state?

Peter, the gdb script I have posted a couple of times is a good start
on seeing what the tasks in the system are up to.  I would like to see
the gdb script eventually enhanced so that it could give you some
like decoding the task state into English and know that if in certain
that Wait.id is what the task is waiting on.

> Thanks,
> Peter
> - --
> Version: GnuPG v1.0.7 (GNU/Linux)
> 15YpxhzILtBJOpAAPS23X4A=
> =971R

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