mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-20 12:34:49 +08:00
Update chains structures
- Fixes chains structure parsing - Fix Semaphore node parsing
This commit is contained in:

committed by
Chris Johns

parent
56a70aec55
commit
10bcd5d4dc
@@ -62,6 +62,9 @@ class infotables:
|
||||
api = id.api()
|
||||
_class = id._class()
|
||||
index = id.index()
|
||||
return self.object_return(api, _class, index)
|
||||
|
||||
def object_return(self, api, _class, index):
|
||||
n = self.name(api, _class)
|
||||
self.load(n)
|
||||
max = self.maximum(api, _class)
|
||||
@@ -96,7 +99,7 @@ class ident:
|
||||
{ 'index': (0, 15),
|
||||
'node': (16, 23),
|
||||
'api': (24, 26),
|
||||
'class': (27, 31) }
|
||||
'class': (27, 31) }
|
||||
]
|
||||
|
||||
OBJECT_16_BITS = 0
|
||||
@@ -147,7 +150,7 @@ class ident:
|
||||
'variable_memory_pools',
|
||||
'fixed_memory_pools')
|
||||
}
|
||||
|
||||
|
||||
def __init__(self, id):
|
||||
if type(id) != gdb.Value and type(id) != int and type(id) != unicode:
|
||||
raise TypeError('%s: must be gdb.Value, int, unicoded int' % (type(id)))
|
||||
|
Reference in New Issue
Block a user