diff options
author | Dhananjay Balan <mb.dhananjay@gmail.com> | 2013-08-24 20:26:06 +0530 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-08-25 09:52:41 +1000 |
commit | 7a415d4e43de67e0eabcca3a1375c4e530f37a07 (patch) | |
tree | ec23de4245f303b20e3713d006ba91397981ea74 /tools/gdb/python/classic.py | |
parent | Add subcommand (diff) | |
download | rtems-tools-7a415d4e43de67e0eabcca3a1375c4e530f37a07.tar.bz2 |
Catch empty task names,
- All the tasks do not have a name.
Diffstat (limited to 'tools/gdb/python/classic.py')
-rw-r--r-- | tools/gdb/python/classic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gdb/python/classic.py b/tools/gdb/python/classic.py index b919383..261f648 100644 --- a/tools/gdb/python/classic.py +++ b/tools/gdb/python/classic.py @@ -140,6 +140,8 @@ class semaphore: tasks = wait_queue.tasks() print ' Queue: len = %d, state = %s' % (len(tasks), wait_queue.state()) + print ' Tasks:' + print ' Name (c:current, r:real), (id)' for t in range(0, len(tasks)): print ' ', tasks[t].brief(), ' (%08x)' % (tasks[t].id()) else: |