Changeset 61154bf in rtems-tools for tools/gdb


Ignore:
Timestamp:
Aug 26, 2013, 3:26:30 PM (6 years ago)
Author:
Dhananjay Balan <mb.dhananjay@…>
Branches:
4.10, 4.11, master
Children:
5a4834c
Parents:
1fcff75
git-author:
Dhananjay Balan <mb.dhananjay@…> (08/26/13 15:26:30)
git-committer:
Chris Johns <chrisj@…> (08/24/14 23:52:41)
Message:

Add watchdog seconds command

  • prints the watchdog chain managed at second boundaries.
Location:
tools/gdb/python
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/gdb/python/main.py

    r1fcff75 r61154bf  
    2020rtems.rtems_tod()
    2121rtems.rtems_wdt()
     22rtems.rtems_wsec()
  • tools/gdb/python/objects.py

    r1fcff75 r61154bf  
    1616        'internal/time'          : ('TOD_Control',           '_TOD'),
    1717        'internal/wdticks'       : ('Chain_Control',        '_Watchdog_Ticks_chain'),
     18        'internal/wdseconds'     : ('Chain_Control',        '_Watchdog_Seconds_chain'),
    1819
    1920        'classic/tasks'          : ('Thread_Control',        '_RTEMS_tasks_Information'),
  • tools/gdb/python/rtems.py

    r1fcff75 r61154bf  
    246246        super(rtems_wdt, self).__init__('rtems wdticks')
    247247
     248class rtems_wsec(rtems_watchdog_chain):
     249
     250    _class = 'wdseconds'
     251
     252    def __init__(self):
     253        self.__doc__ = 'Display watchdog seconds chain'
     254        super(rtems_wsec, self).__init__('rtems wdseconds')
     255
Note: See TracChangeset for help on using the changeset viewer.