mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-16 06:31:34 +08:00
Refactoring
- drop _printer suffix from printer classes.
This commit is contained in:

committed by
Chris Johns

parent
a785e254f2
commit
0967a1b679
8
tools/gdb/python/helper.py
Normal file
8
tools/gdb/python/helper.py
Normal 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())
|
Reference in New Issue
Block a user