Refactoring

- drop _printer suffix from printer classes.
This commit is contained in:
Dhananjay Balan
2013-07-13 16:31:59 +05:30
committed by Chris Johns
parent a785e254f2
commit 0967a1b679
8 changed files with 30 additions and 75 deletions

View File

@@ -0,0 +1,8 @@
#
# RTEMS GDB support helper routins.
def tasks_printer_rotuine(wait_queue):
tasks = wait_queue.tasks()
print ' Queue: len = %d, state = %s' % (len(tasks),wait_queue.state())
for t in range(0, len(tasks)):
print ' ', tasks[t].brief(), ' (%08x)' % (tasks[t].id())