summaryrefslogtreecommitdiffstats
path: root/tools/gdb/python/classic.py
diff options
context:
space:
mode:
authorDhananjay Balan <mb.dhananjay@gmail.com>2013-08-24 20:26:06 +0530
committerChris Johns <chrisj@rtems.org>2014-08-25 09:52:41 +1000
commit7a415d4e43de67e0eabcca3a1375c4e530f37a07 (patch)
treeec23de4245f303b20e3713d006ba91397981ea74 /tools/gdb/python/classic.py
parentAdd subcommand (diff)
downloadrtems-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.py2
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: