diff options
-rw-r--r-- | tools/gdb/python/main.py | 3 | ||||
-rw-r--r-- | tools/gdb/python/objects.py | 1 | ||||
-rw-r--r-- | tools/gdb/python/rtems.py | 8 |
3 files changed, 11 insertions, 1 deletions
diff --git a/tools/gdb/python/main.py b/tools/gdb/python/main.py index a0ff7dc..6fb7c54 100644 --- a/tools/gdb/python/main.py +++ b/tools/gdb/python/main.py @@ -18,4 +18,5 @@ rtems.rtems_semaphore() rtems.rtems_task() rtems.rtems_message_queue() rtems.rtems_tod() -rtems.rtems_wdt()
\ No newline at end of file +rtems.rtems_wdt() +rtems.rtems_wsec()
\ No newline at end of file diff --git a/tools/gdb/python/objects.py b/tools/gdb/python/objects.py index ae2a4c7..ee59cbc 100644 --- a/tools/gdb/python/objects.py +++ b/tools/gdb/python/objects.py @@ -15,6 +15,7 @@ class infotables: tables_types = { 'internal/time' : ('TOD_Control', '_TOD'), 'internal/wdticks' : ('Chain_Control', '_Watchdog_Ticks_chain'), + 'internal/wdseconds' : ('Chain_Control', '_Watchdog_Seconds_chain'), 'classic/tasks' : ('Thread_Control', '_RTEMS_tasks_Information'), 'classic/timers' : ('Timer_Control', '_Timer_Information'), 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') + |