mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-21 14:13:32 +08:00
Python 3 compatibility
This commit is contained in:
@@ -34,9 +34,9 @@ import gdb
|
||||
|
||||
def tasks_printer_routine(wait_queue):
|
||||
tasks = wait_queue.tasks()
|
||||
print ' Queue: len = %d, state = %s' % (len(tasks),wait_queue.state())
|
||||
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())
|
||||
print(' ', tasks[t].brief(), ' (%08x)' % (tasks[t].id()))
|
||||
|
||||
def type_from_value(val):
|
||||
type = val.type;
|
||||
|
Reference in New Issue
Block a user