Remove empty comments from FreeRTOSgdb/EventGroup.py (#428)
* Remove empty comments from FreeRTOSgdb/EventGroup.py * Remove empty comments from FreeRTOSgdb/QueueTools.py * Remove empty comments from FreeRTOSgdb/List.py
This commit is contained in:
parent
577606afb9
commit
dbb8a92653
@ -15,11 +15,9 @@ class EventGroupInspector:
|
|||||||
EvtGrpType = gdb.lookup_type("EventGroup_t")
|
EvtGrpType = gdb.lookup_type("EventGroup_t")
|
||||||
|
|
||||||
def __init__(self, handle):
|
def __init__(self, handle):
|
||||||
""""""
|
|
||||||
self._evtgrp = gdb.Value(handle).cast(EventGroupInspector.EvtGrpType)
|
self._evtgrp = gdb.Value(handle).cast(EventGroupInspector.EvtGrpType)
|
||||||
|
|
||||||
def GetTasksWaiting(self):
|
def GetTasksWaiting(self):
|
||||||
""""""
|
|
||||||
taskListObj = self._evtgrp["xTasksWaitingForBits"]
|
taskListObj = self._evtgrp["xTasksWaitingForBits"]
|
||||||
taskList = ListInspector(taskListObj)
|
taskList = ListInspector(taskListObj)
|
||||||
return taskList.GetElements(TaskInspector.TCBType)
|
return taskList.GetElements(TaskInspector.TCBType)
|
||||||
|
@ -19,7 +19,6 @@ class ListInspector:
|
|||||||
ListType = gdb.lookup_type("List_t")
|
ListType = gdb.lookup_type("List_t")
|
||||||
|
|
||||||
def __init__(self, handle):
|
def __init__(self, handle):
|
||||||
""""""
|
|
||||||
self._list = None
|
self._list = None
|
||||||
# print("List: Handle: %s" % handle)
|
# print("List: Handle: %s" % handle)
|
||||||
self.Assign(handle)
|
self.Assign(handle)
|
||||||
|
@ -51,7 +51,6 @@ class QueueInspector:
|
|||||||
QueueType = gdb.lookup_type("Queue_t")
|
QueueType = gdb.lookup_type("Queue_t")
|
||||||
|
|
||||||
def __init__(self, handle):
|
def __init__(self, handle):
|
||||||
""""""
|
|
||||||
# print("Queue: Handle: %s" % handle)
|
# print("Queue: Handle: %s" % handle)
|
||||||
self.name = None
|
self.name = None
|
||||||
queueObjPtr = None
|
queueObjPtr = None
|
||||||
|
Loading…
Reference in New Issue
Block a user