summaryrefslogtreecommitdiff
path: root/tools/gdb/python/rtems.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gdb/python/rtems.py')
-rw-r--r--tools/gdb/python/rtems.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/gdb/python/rtems.py b/tools/gdb/python/rtems.py
index 64c7f1a..340c7ff 100644
--- a/tools/gdb/python/rtems.py
+++ b/tools/gdb/python/rtems.py
@@ -11,6 +11,7 @@ import re
import objects
import threads
import chains
+import watchdog
import supercore
import classic
@@ -227,10 +228,14 @@ class rtems_watchdog_chain(gdb.Command):
return
nd = inst.first()
+ i = 0
+ print ' Ticks Chain'
while not nd.null():
wd = watchdog.control(nd.cast('Watchdog_Control'))
- wd.show()
- nd = nd.next()
+ print ' #'+str(i)
+ print wd.to_string()
+ nd.next()
+ i += 1
class rtems_wdt(rtems_watchdog_chain):