source: rtems-tools/tools/gdb/python/helper.py @ 09086b4

4.104.115
Last change on this file since 09086b4 was 0967a1b, checked in by Dhananjay Balan <mb.dhananjay@…>, on 07/13/13 at 11:01:59

Refactoring

  • drop _printer suffix from printer classes.
  • Property mode set to 100644
File size: 291 bytes
Line 
1#
2# RTEMS GDB support helper routins.
3
4def tasks_printer_rotuine(wait_queue):
5    tasks = wait_queue.tasks()
6    print '    Queue: len = %d, state = %s' % (len(tasks),wait_queue.state())
7    for t in range(0, len(tasks)):
8        print '      ', tasks[t].brief(), ' (%08x)' % (tasks[t].id())
Note: See TracBrowser for help on using the repository browser.