summaryrefslogtreecommitdiff
path: root/tools/gdb/python/rtems.py
diff options
context:
space:
mode:
authorDhananjay Balan <mb.dhananjay@gmail.com>2013-08-26 20:56:30 +0530
committerChris Johns <chrisj@rtems.org>2014-08-25 09:52:41 +1000
commit61154bf302d5f022b54094e0fc58e9a0fc00f983 (patch)
tree435377dd939056a09be6f4265a6e24654d1c7cdd /tools/gdb/python/rtems.py
parent1fcff75505e4be2916bcd273a3670828363a0f67 (diff)
Add watchdog seconds command
- prints the watchdog chain managed at second boundaries.
Diffstat (limited to '')
-rw-r--r--tools/gdb/python/rtems.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/gdb/python/rtems.py b/tools/gdb/python/rtems.py
index 340c7ff..5f0aa7d 100644
--- a/tools/gdb/python/rtems.py
+++ b/tools/gdb/python/rtems.py
@@ -245,3 +245,11 @@ class rtems_wdt(rtems_watchdog_chain):
self.__doc__ = 'Display watchdog ticks chain'
super(rtems_wdt, self).__init__('rtems wdticks')
+class rtems_wsec(rtems_watchdog_chain):
+
+ _class = 'wdseconds'
+
+ def __init__(self):
+ self.__doc__ = 'Display watchdog seconds chain'
+ super(rtems_wsec, self).__init__('rtems wdseconds')
+